mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
20 lines
422 B
QML
20 lines
422 B
QML
|
// 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
|
||
|
}
|
||
|
}
|
||
|
|