Use font: instead of font.pointSize: where possible
Summary: Otherwise we're discarding style information possibly set in the user's small font choices when we want to set a smaller font. Test Plan: Stuff that's suposta look small still looks small Reviewers: #plasma, cblack Reviewed By: #plasma, cblack Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D29436
This commit is contained in:
parent
d36ad128e7
commit
5ef8b1a189
@ -50,7 +50,7 @@ PlasmaComponents.Page {
|
||||
|
||||
PlasmaComponents.Label {
|
||||
text: "This is the smallest readable Font."
|
||||
font.pointSize: theme.smallestFont.pointSize
|
||||
font: theme.smallestFont
|
||||
|
||||
}
|
||||
Row {
|
||||
|
@ -62,7 +62,7 @@ Column {
|
||||
|
||||
FontGizmo {
|
||||
id: giz1
|
||||
font.pointSize: theme.smallestFont.pointSize
|
||||
font: theme.smallestFont
|
||||
//font.family: "Oxygen-Sans"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user