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.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin - Commits
- R108:2ce1d9922111: [kcmkwin/kwindecoration] Elide "theme default border size" CheckBox
Ideally, we'd wrap into a separate line or something but this requires more refactoring as a RowLayout can't do that on the spot, and a Flow doesn't give us the nice auto-sizing capabilities of a Layout :(
For 5.17 this is better than exploding the grid view outside visible bounds
Before
After
"Get new decorations" button is still on the right if there's enough room
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Lint Skipped - Unit
Unit Tests Skipped