mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-05 00:21:29 +00:00
2c04a1f297
When strings in dive details wrap, the line spacing is too tight in some circumstances. While not perfect, this change improves the situation somewhat. See #3263 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
19 lines
422 B
QML
19 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.7
|
|
property alias colorBackground: myLabelBackground.color
|
|
|
|
background: Rectangle {
|
|
id: myLabelBackground
|
|
implicitWidth: myLabel.width
|
|
implicitHeight: myLabel.width
|
|
color: subsurfaceTheme.backgroundColor
|
|
}
|
|
}
|
|
|