with the new very slim scrollbars, the rounded rectangle could
go to have a radius more than half their width, making them look
"pointy", this ensures they stay properly round
Details
Details
- Reviewers
hpereiradacosta hein - Group Reviewers
Plasma VDG - Commits
- R31:a9a509d444bf: ensure the rounded rectangle of scrollbard stays round
slim scrollbars still round, bigger ones are unaltered
Diff Detail
Diff Detail
- Repository
- R31 Breeze
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
kstyle/breezehelper.cpp | ||
---|---|---|
1262 | std::min( { a, b, c } ) also, rather than (qreal)( rect.width() ) you can use directly baseRect.width(), which is a qRectF. 0.5*qMin( ... ) would also do the job. (as in 0.5*Metrics:: ... ) |