subsurface/mobile-widgets/qml/TemplateLabelSmall.qml
Dirk Hohndel 2c04a1f297 mobile: tweak line spacing
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>
2021-08-18 19:09:59 -07:00

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
}
}