diff options
author | kali <kali@leap.se> | 2021-10-04 12:59:01 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:51:17 +0100 |
commit | 7691f0f2967f721f3dee100956982ff625d7d945 (patch) | |
tree | 446fb202fd11a2802fd67e7b2df3050995c9f618 /gui/main.qml | |
parent | f3ed99f26f6f6a7d2b3d7da47409b28b2e042c05 (diff) |
[ui] workarounds for font in osx
Diffstat (limited to 'gui/main.qml')
-rw-r--r-- | gui/main.qml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gui/main.qml b/gui/main.qml index c063739..7469620 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -68,7 +68,18 @@ ApplicationWindow { source: "qrc:/monserrat-bold.ttf" } - font.family: lightFont.name + FontLoader { + id: robotoFont + source: "qrc:/roboto.ttf" + } + + FontLoader { + id: robotoBoldFont + source: "qrc:/roboto-bold.ttf" + } + + font.family: robotoFont.name + font.weight: Font.Light Loader { id: loader |