Commit 9e549823 authored by Nate Graham's avatar Nate Graham 🔩

[kcmkwin/kwinrules] Set saner width for Placeholder messages so they don't overflow

See D29692
parent 65f611f7
......@@ -48,12 +48,8 @@ ScrollViewKCM {
Kirigami.PlaceholderMessage {
id: hintArea
visible: rulesView.count <= 4
anchors {
top: parent.contentItem.bottom
left: parent.left
right: parent.right
bottom: parent.bottom
}
anchors.centerIn: parent
width: parent.width - (units.largeSpacing * 4)
helpfulAction: QQC2.Action {
text: i18n("Add Properties...")
icon.name: "list-add-symbolic"
......
......@@ -68,7 +68,8 @@ ScrollViewKCM {
Kirigami.PlaceholderMessage {
visible: ruleBookView.count == 0
anchors.fill: parent
anchors.centerIn: parent
width: parent.width - (units.largeSpacing * 4)
text: i18n("No rules for specific windows are currently set");
}
}
......
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