fix(ActivityCenter): Notification title is cut when long
* Added wrapMode in Text Closes #12870
This commit is contained in:
parent
effe996239
commit
7ee3b0bb57
|
@ -38,8 +38,11 @@ Item {
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: layout
|
id: layout
|
||||||
spacing: 4
|
spacing: 4
|
||||||
|
width: parent.width
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
|
|
||||||
id: primaryDisplayName
|
id: primaryDisplayName
|
||||||
|
Layout.fillWidth: true
|
||||||
objectName: "StatusMessageHeader_DisplayName"
|
objectName: "StatusMessageHeader_DisplayName"
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
Layout.bottomMargin: 2 // offset for the underline to stay vertically centered
|
Layout.bottomMargin: 2 // offset for the underline to stay vertically centered
|
||||||
|
|
|
@ -96,6 +96,7 @@ ActivityNotificationBase {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
StatusMessageHeader {
|
StatusMessageHeader {
|
||||||
|
Layout.fillWidth: true
|
||||||
displayNameLabel.text: d.title
|
displayNameLabel.text: d.title
|
||||||
timestamp: root.notification.timestamp
|
timestamp: root.notification.timestamp
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue