mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML-UI: Download screen fixup
Again, mostly related to label change. First, the top button was "glued" to the top of the screen, so added a little margin there. It appeared that all the other items on the screen (progressbar, 2 button rows, and the downloaded dive list) where not moving down due to the add of that little top margin. This was solved by anchor-ing the items together. Finally, the text of a downloaded dive was on the top of the delegate lines. Not sure where that came from, but easily solved by centering it explicitly. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
53ed1c7326
commit
a9b692f0c3
2 changed files with 23 additions and 3 deletions
|
@ -48,12 +48,14 @@ Kirigami.AbstractListItem {
|
|||
Controls.Label {
|
||||
id: dateLabel
|
||||
text: innerListItem.datetime
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: Math.round(parent.width * 0.35)
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
color: textColor
|
||||
}
|
||||
Controls.Label {
|
||||
text: innerListItem.depth + ' / ' + innerListItem.duration
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: Math.round(parent.width * 0.35)
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
color: textColor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue