Otherwise we're discarding style information possibly set in
the user's small font choices when we want to set a smaller
font.
Details
Details
- Reviewers
cblack - Group Reviewers
Plasma - Commits
- R120:93594f606b61: Use font: instead of font.pointSize: where possible
Stuff that's suposta look small still looks small
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Branch
- use-the-whole-font (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 26360 Build 26378: arc lint + arc unit
Comment Actions
You can do that now but this behaviour is deprecated and disallowed in Qt 6 AFAIK.
I don't know a better way of doing this, so +0 from me.
Comment Actions
So you can't set font: in Qt6 or something? Would we have to do this?
font.pointSize: theme.smallestFont.pointSize font.styleName: theme.smallestFont.styleName
Comment Actions
Actually I'm fairly sure font: someFont is still going to work, it's font.something: somethingElse syntax that's going away, instead becoming something like font: Font { something: somethingElse }.