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-10-06 18:37:22 +0200 |
commit | 15f2efc9aa77893d5300d198dd3b5c42549018e8 (patch) | |
tree | 35e4f512ec86a770960f786eeddaab1e8b29d929 /gui/components/BoldLabel.qml | |
parent | b8c34672538109a67c1ffc4a4ec4f90772ea9e3e (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 +} |