Improve font rendering
This commit is contained in:
@@ -1367,7 +1367,8 @@ Item {
|
||||
text: buttonRoot.text
|
||||
color: buttonRoot.active ? root.urgent : root.foreground
|
||||
font.family: buttonRoot.fontFamily
|
||||
font.pixelSize: buttonRoot.fontSize
|
||||
font.pointSize: buttonRoot.fontSize * 0.75
|
||||
renderType: Text.NativeRendering
|
||||
rotation: buttonRoot.textRotation
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
||||
@@ -41,7 +41,8 @@ Item {
|
||||
text: root.text
|
||||
color: root.active ? root.activeColor : root.foreground
|
||||
font.family: root.fontFamily
|
||||
font.pixelSize: root.fontSize
|
||||
font.pointSize: root.fontSize * 0.75
|
||||
renderType: Text.NativeRendering
|
||||
rotation: root.textRotation
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
||||
Reference in New Issue
Block a user