Take into account paddings around the page and scroll view and also use the correct grid delegate size
Details
Details
- Reviewers
mart - Group Reviewers
Plasma - Commits
- R296:72f438f8e7ad: [GridViewKCM] Fix implicit width calculation
Opened colors KCM, size was correct to the pixel now. Resized the window smaller a single pixel and it wrapped the delegates into two columns
Initial size before
Initial size after
It wasn't an issue with the KCMs with default width as the minimum width of the dialog (due to the button box at the bottom) was greater than three delegates worth
Diff Detail
Diff Detail
- Repository
- R296 KDeclarative
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.