mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
QML UI Mobile: correct margins on log page
Also a developer likes to see a nicely formatted page, so correct some bugs in margin handling on the log page. There was a strange multi-line whitespace on the top of the list, and the total width of the page was (initially) a little smaller than full page, so showing a small strip of the page left on the pageStack. This just looks weird. So again, cosmetics only. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
76a7c860f1
commit
928e7ed869
1 changed files with 2 additions and 3 deletions
|
@ -10,15 +10,13 @@ import org.kde.kirigami 2.2 as Kirigami
|
|||
|
||||
Kirigami.ScrollablePage {
|
||||
id: logWindow
|
||||
width: parent.width - Kirigami.Units.gridUnit
|
||||
anchors.margins: Kirigami.Units.gridUnit / 2
|
||||
width: subsurfaceTheme.columnWidth
|
||||
objectName: "Log"
|
||||
title: qsTr("Application Log")
|
||||
background: Rectangle { color: subsurfaceTheme.backgroundColor }
|
||||
|
||||
ListView {
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: Kirigami.Units.gridUnit * 2
|
||||
model: logModel
|
||||
currentIndex: -1
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
|
@ -32,6 +30,7 @@ Kirigami.ScrollablePage {
|
|||
color: Kirigami.Theme.textColor
|
||||
text : message
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
leftPadding: Kirigami.Units.gridUnit / 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue