mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +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
|
height: childrenRect.height - Kirigami.Units.smallSpacing
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: headingBackground
|
id: headingBackground
|
||||||
height: section == "" ? 0 : Kirigami.Units.gridUnit * 2.5
|
height: section == "" ? 0 : sectionText.height + Kirigami.Units.gridUnit
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
|
@ -208,6 +208,7 @@ Kirigami.ScrollablePage {
|
||||||
}
|
}
|
||||||
shownText
|
shownText
|
||||||
}
|
}
|
||||||
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
font.weight: Font.Bold
|
font.weight: Font.Bold
|
||||||
anchors {
|
anchors {
|
||||||
|
|
Loading…
Reference in a new issue