mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 11:57:58 +02:00
Allow noninteger font sizes
This commit is contained in:
parent
535b183f76
commit
d46f85c5dd
6 changed files with 6 additions and 6 deletions
|
@ -15,7 +15,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
Text {
|
||||
id: root
|
||||
FontLoader { id: iconFont; source: "../../fonts/AnonymousPro-Regular.ttf"; }
|
||||
property int size: 32
|
||||
property real size: 32
|
||||
font.pointSize: size
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
|
|
|
@ -15,7 +15,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
Text {
|
||||
id: root
|
||||
FontLoader { id: iconFont; source: "../../fonts/FiraSans-SemiBold.ttf"; }
|
||||
property int size: 32
|
||||
property real size: 32
|
||||
font.pointSize: size
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
|
|
|
@ -15,7 +15,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
Text {
|
||||
id: root
|
||||
FontLoader { id: iconFont; source: "../../fonts/Raleway-Bold.ttf"; }
|
||||
property int size: 32
|
||||
property real size: 32
|
||||
font.pointSize: size
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
|
|
|
@ -15,7 +15,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
Text {
|
||||
id: root
|
||||
FontLoader { id: iconFont; source: "../../fonts/Raleway-Light.ttf"; }
|
||||
property int size: 32
|
||||
property real size: 32
|
||||
font.pointSize: size
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
|
|
|
@ -15,7 +15,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
Text {
|
||||
id: root
|
||||
FontLoader { id: iconFont; source: "../../fonts/Raleway-Regular.ttf"; }
|
||||
property int size: 32
|
||||
property real size: 32
|
||||
font.pointSize: size
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
|
|
|
@ -15,7 +15,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
Text {
|
||||
id: root
|
||||
FontLoader { id: iconFont; source: "../../fonts/Raleway-Semibold.ttf"; }
|
||||
property int size: 32
|
||||
property real size: 32
|
||||
font.pointSize: size
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
|
|
Loading…
Reference in a new issue