Commit ea7f43b9 authored by Nate Graham's avatar Nate Graham 🔩

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

See D29692
parent ca2e2bb2
......@@ -202,6 +202,7 @@ KCM.SimpleKCM {
}
Kirigami.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (units.largeSpacing * 4)
visible: components.currentIndex == -1
text: i18n("Select an item from the list to view its shortcuts here")
}
......
......@@ -169,8 +169,8 @@ Kirigami.Page {
}
Kirigami.PlaceholderMessage {
anchors.fill: parent
anchors.margins: Kirigami.Units.largeSpacing
anchors.centerIn: parent
width: parent.width - (units.largeSpacing * 4)
text: i18n("Select an application from the list to configure its notification settings and behavior.")
visible: !appConfiguration.rootIndex || !appConfiguration.rootIndex.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