summaryrefslogtreecommitdiff
path: root/gui/components/BoldLabel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/components/BoldLabel.qml')
-rw-r--r--gui/components/BoldLabel.qml21
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
+}