Ensures controls update their size when font changes.
The Labels inside would but the control around them not, leading to broken rendering until causing it to update by interacting with it.
It has to be queued for some reason or else by the time the signal is invoked, the style hasn't caught up yet.
Details
Details
- Reviewers
ngraham - Group Reviewers
Plasma - Commits
- R858:51871406787d: Update size hint when font changes
*Changed from 10pt to 12pt
Before:
The one I hovered updated half-way
After:
All controls update immediately
Diff Detail
Diff Detail
- Repository
- R858 Qt Quick Controls 2: Desktop Style
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.