mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
divelist polish
- fix page margins (gridUnit / 2) - trip heading marker now stretches over the full length Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
36e3c5485e
commit
531eace0c3
1 changed files with 5 additions and 2 deletions
|
@ -137,7 +137,8 @@ MobileComponents.Page {
|
|||
anchors {
|
||||
top: sectionText.bottom
|
||||
left: parent.left
|
||||
leftMargin: MobileComponents.Units.gridUnit / 2
|
||||
leftMargin: MobileComponents.Units.gridUnit * -2
|
||||
rightMargin: MobileComponents.Units.gridUnit * -2
|
||||
right: parent.right
|
||||
}
|
||||
color: subsurfaceTheme.accentColor
|
||||
|
@ -170,7 +171,9 @@ MobileComponents.Page {
|
|||
section.delegate: tripHeading
|
||||
header: MobileComponents.Heading {
|
||||
x: MobileComponents.Units.gridUnit / 2
|
||||
y: x
|
||||
height: paintedHeight + MobileComponents.Units.gridUnit / 2
|
||||
verticalAlignment: Text.AlignBottom
|
||||
|
||||
text: "Dive Log"
|
||||
opacity: 0.8 - startPage.opacity
|
||||
visible: opacity > 0
|
||||
|
|
Loading…
Add table
Reference in a new issue