Commit f0edd36f authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent de6f486a
......@@ -37,22 +37,14 @@ Notification {
rightMargin: NotificationNewVersionAvailableStyle.rightMargin
}
sourceComponent: RowLayout {
sourceComponent: Text {
anchors.fill: parent
spacing: NotificationNewVersionAvailableStyle.spacing
Text {
Layout.fillWidth: true
Layout.fillHeight: true
topPadding: NotificationNewVersionAvailableStyle.message.topPadding
color: NotificationNewVersionAvailableStyle.message.color
elide: Text.ElideRight
wrapMode: Text.Wrap
font.pointSize: NotificationNewVersionAvailableStyle.message.pointSize
text: notificationData.message
}
}
verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap
MouseArea {
anchors.fill: parent
......@@ -65,4 +57,5 @@ Notification {
}
}
}
}
}
......@@ -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