[kcmkwin/kwindecoration] Elide "theme default border size" CheckBox
Otherwise the layout explodes. Unfortunately it seems Layouts don't shrink the items within even if there's not enough room at all, so I need this fillWidth + maximumWidth workaround. Differential Revision: https://phabricator.kde.org/D24885
This commit is contained in:
parent
71c3f063bb
commit
2ce1d99221
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ Kirigami.Page {
|
|||
RowLayout {
|
||||
Controls.CheckBox {
|
||||
id: borderSizeAutoCheckbox
|
||||
// Let it elide but don't make it push the ComboBox away from it
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: implicitWidth
|
||||
text: i18nc("checkbox label", "Use theme's default window border size")
|
||||
checked: kcm.borderSizeAuto
|
||||
onCheckedChanged: {
|
||||
|
|
Loading…
Reference in a new issue