summaryrefslogtreecommitdiff
path: root/gui/components/BoldLabel.qml
blob: 6c6c3c34378a82e1990f54b16c26215cdba0e25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}