summaryrefslogtreecommitdiff
path: root/gui/components/BoldLabel.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-08-31 21:59:35 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-10-06 18:37:22 +0200
commit2f25b390632de1c42567a9338c71060377f4a082 (patch)
tree613d73e62b8878a85926de7dde01ec418e23e195 /gui/components/BoldLabel.qml
parent15f2efc9aa77893d5300d198dd3b5c42549018e8 (diff)
[ui] fonts + bugfixing
Diffstat (limited to 'gui/components/BoldLabel.qml')
-rw-r--r--gui/components/BoldLabel.qml15
1 files changed, 6 insertions, 9 deletions
diff --git a/gui/components/BoldLabel.qml b/gui/components/BoldLabel.qml
index 6c6c3c3..d4a6ba3 100644
--- a/gui/components/BoldLabel.qml
+++ b/gui/components/BoldLabel.qml
@@ -4,18 +4,15 @@ import "../themes/themes.js" as Theme
import "../themes"
Label {
- FontLoader {
- id: boldFont
- source: "qrc:/oxanium-bold.ttf"
+ color: "black"
+
+ font {
+ pixelSize: Theme.fontSize * 1.5
+ family: boldFont.name
+ bold: true
}
- font.pixelSize: Theme.fontSize * 1.55555
- //font.family: boldFont.name
- font.bold: true
- //color: Theme.fontColorDark
- color: "black"
text: parent.text
- //wrapMode: Text.WordWrap
Accessible.name: text
Accessible.role: Accessible.StaticText
}