summaryrefslogtreecommitdiff
path: root/gui/components/LightLabel.qml
blob: ea723c795d7abf00fcb1209941fdee1909c86a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 2.5
import QtQuick.Controls 2.14
import "../themes/themes.js" as Theme

Text {
    font.pixelSize: Theme.fontSize - 2
    font.family: Theme.fontFamily
    color: Theme.fontColor
    width: parent.width * 0.80
    text: parent.text

    horizontalAlignment: Text.AlignHCenter
    verticalAlignment: Text.AlignVCenter
    wrapMode: Text.Wrap

    Accessible.role: Accessible.StaticText
    Accessible.name: text
}