aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index a62b298de..3992ce2b3 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -185,7 +185,7 @@ Kirigami.ScrollablePage {
height: childrenRect.height - Kirigami.Units.smallSpacing
Rectangle {
id: headingBackground
- height: section == "" ? 0 : Kirigami.Units.gridUnit * 2.5
+ height: section == "" ? 0 : sectionText.height + Kirigami.Units.gridUnit
anchors {
left: parent.left
right: parent.right
@@ -208,6 +208,7 @@ Kirigami.ScrollablePage {
}
shownText
}
+ wrapMode: Text.WrapAtWordBoundaryOrAnywhere
visible: text !== ""
font.weight: Font.Bold
anchors {