mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI: DiveList: allow trip header to wrap
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d9cb65cbed
commit
ea218b9d24
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue