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-11-23 21:50:59 +0100
commit815c26850266eba2e4e5d02509487452624b1c64 (patch)
tree48aeca1a7e52003127e6924ef71cf539a034b903 /gui/components/BoldLabel.qml
parentcd1d46a26b923260b6c87cc93a0723b8166c609e (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
}