Skip to content

Commit d6735e4

Browse files
authored
Use conditionals to increase the font size on MacOS (#283)
1 parent 2a4ea68 commit d6735e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/Constants/Constants.qml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ QtObject {
4848
readonly property string fontFamily: "Roboto Condensed"
4949
property FontLoader robotoCondensedLightFont
5050
readonly property string lightFontFamily: robotoCondensedLightFont.name
51-
readonly property real xSmallPointSize: 6
52-
readonly property real smallPointSize: 7
53-
readonly property real mediumPointSize: 8
54-
readonly property real largePointSize: 9
51+
readonly property real xSmallPointSize: Qt.platform.os == "osx" ? 8 : 6
52+
readonly property real smallPointSize: Qt.platform.os == "osx" ? 9 : 7
53+
readonly property real mediumPointSize: Qt.platform.os == "osx" ? 10 : 8
54+
readonly property real largePointSize: Qt.platform.os == "osx" ? 11 : 9
5555
readonly property real xlPointSize: 12
5656
readonly property real xxlPointSize: 14
5757
readonly property bool debugMode: false

0 commit comments

Comments
 (0)