Commit f0edd36f authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/modules/Linphone/Notifications/NotificationNewVersionAvailable): use a correct style

parent de6f486a
......@@ -37,31 +37,24 @@ Notification {
rightMargin: NotificationNewVersionAvailableStyle.rightMargin
}
sourceComponent: RowLayout {
sourceComponent: Text {
anchors.fill: parent
spacing: NotificationNewVersionAvailableStyle.spacing
Text {
Layout.fillWidth: true
Layout.fillHeight: true
color: NotificationNewVersionAvailableStyle.message.color
font.pointSize: NotificationNewVersionAvailableStyle.message.pointSize
text: notificationData.message
verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap
topPadding: NotificationNewVersionAvailableStyle.message.topPadding
color: NotificationNewVersionAvailableStyle.message.color
elide: Text.ElideRight
wrapMode: Text.Wrap
font.pointSize: NotificationNewVersionAvailableStyle.message.pointSize
text: notificationData.message
}
}
MouseArea {
anchors.fill: parent
cursorShape: containsMouse ? Qt.PointingHandCursor : Qt.ArrowCursor
hoverEnabled: true
MouseArea {
anchors.fill: parent
cursorShape: containsMouse ? Qt.PointingHandCursor : Qt.ArrowCursor
hoverEnabled: true
onClicked: notification._close(function () {
Qt.openUrlExternally(notificationData.url)
})
onClicked: notification._close(function () {
Qt.openUrlExternally(notificationData.url)
})
}
}
}
}
......
......@@ -10,14 +10,12 @@ QtObject {
property color color: Colors.k
property int height: 55
property int iconSize: 40
property int leftMargin: 25
property int leftMargin: 30
property int rightMargin: 15
property int spacing: 10
property int width: 300
property QtObject message: QtObject {
property color color: Colors.h
property int pointSize: Units.dp * 10
property int topPadding: 10
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment