mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
7720e97db5
Our labels all seem to have a lot of empty vertical space around them. Try to be a bit more conservative with space. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
19 lines
424 B
QML
19 lines
424 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.regularPointSize
|
|
lineHeight: 0.8
|
|
property alias colorBackground: myLabelBackground.color
|
|
|
|
background: Rectangle {
|
|
id: myLabelBackground
|
|
implicitWidth: myLabel.width
|
|
implicitHeight: myLabel.width
|
|
color: subsurfaceTheme.backgroundColor
|
|
}
|
|
}
|
|
|