diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-08-27 19:45:41 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-23 21:50:58 +0100 |
commit | cd1d46a26b923260b6c87cc93a0723b8166c609e (patch) | |
tree | 81d0fafeaeda6f5d72ec03f589cf8560cea32ed8 /gui/components/BoldLabel.qml | |
parent | 76585f828a36c08614df84f43d64e20fb0e7a425 (diff) |
[ui] refactor ui
Diffstat (limited to 'gui/components/BoldLabel.qml')
-rw-r--r-- | gui/components/BoldLabel.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gui/components/BoldLabel.qml b/gui/components/BoldLabel.qml new file mode 100644 index 0000000..6c6c3c3 --- /dev/null +++ b/gui/components/BoldLabel.qml @@ -0,0 +1,21 @@ +import QtQuick 2.5 +import QtQuick.Controls 2.14 +import "../themes/themes.js" as Theme +import "../themes" + +Label { + FontLoader { + id: boldFont + source: "qrc:/oxanium-bold.ttf" + } + + 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 +} |