From 815c26850266eba2e4e5d02509487452624b1c64 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 31 Aug 2021 21:59:35 +0200 Subject: [ui] fonts + bugfixing --- gui/components/BoldLabel.qml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'gui/components/BoldLabel.qml') 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 } -- cgit v1.2.3