diff options
Diffstat (limited to 'mobile-widgets/qml/TemplateLabelSmall.qml')
-rw-r--r-- | mobile-widgets/qml/TemplateLabelSmall.qml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mobile-widgets/qml/TemplateLabelSmall.qml b/mobile-widgets/qml/TemplateLabelSmall.qml new file mode 100644 index 000000000..af8c23d9e --- /dev/null +++ b/mobile-widgets/qml/TemplateLabelSmall.qml @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +import QtQuick 2.11 +import QtQuick.Controls 2.4 + +Label { + id: myLabel + color: subsurfaceTheme.textColor + font.pointSize: subsurfaceTheme.smallPointSize + lineHeight: 0.6 + property alias colorBackground: myLabelBackground.color + + background: Rectangle { + id: myLabelBackground + implicitWidth: myLabel.width + implicitHeight: myLabel.width + color: subsurfaceTheme.backgroundColor + } +} + |