Commit 825fd82d authored by Nate Graham's avatar Nate Graham
Browse files

Set saner widths for Placeholder messages so their text doesn't overflow

See D29692
parent 6f6c7339
...@@ -59,9 +59,7 @@ PlasmaExtras.ScrollArea { ...@@ -59,9 +59,7 @@ PlasmaExtras.ScrollArea {
id: emptyHint id: emptyHint
anchors.centerIn: parent anchors.centerIn: parent
anchors.left: parent.left width: parent.width - (units.largeSpacing * 4)
anchors.right: parent.right
anchors.margins: units.largeSpacing
visible: menuListView.count === 0 visible: menuListView.count === 0
text: i18n("Clipboard is empty") text: i18n("Clipboard is empty")
......
...@@ -586,9 +586,7 @@ PlasmaComponents3.Page { ...@@ -586,9 +586,7 @@ PlasmaComponents3.Page {
Kirigami.PlaceholderMessage { Kirigami.PlaceholderMessage {
anchors.centerIn: parent anchors.centerIn: parent
anchors.left: parent.left width: parent.width - (units.largeSpacing * 4)
anchors.right: parent.right
anchors.margins: units.largeSpacing
text: i18n("No unread notifications") text: i18n("No unread notifications")
visible: list.count === 0 && NotificationManager.Server.valid visible: list.count === 0 && NotificationManager.Server.valid
......
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