diff options
author | kali <kali@leap.se> | 2021-10-04 12:59:01 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-10-06 18:38:22 +0200 |
commit | 2c13aa8076391d471ae3d434d0410b9c573c986a (patch) | |
tree | 756f24ffaae781c8c8619935a25b396718981c62 /gui/main.qml | |
parent | 0e356d7f3def84926992a93c61455d5232549b53 (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 |