mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-18 01:26:16 +00:00
QML UI: try to get correct height for start page
Still not quite correct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d719ef3a70
commit
5f8591e845
1 changed files with 1 additions and 7 deletions
|
@ -9,7 +9,7 @@ Item {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: startpage
|
id: startpage
|
||||||
width: subsurfaceTheme.columnWidth
|
width: subsurfaceTheme.columnWidth
|
||||||
anchors.fill: parent
|
height: childrenRect.height
|
||||||
anchors.margins: MobileComponents.Units.gridUnit / 2
|
anchors.margins: MobileComponents.Units.gridUnit / 2
|
||||||
|
|
||||||
property int buttonWidth: width * 0.9
|
property int buttonWidth: width * 0.9
|
||||||
|
@ -36,13 +36,7 @@ Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.margins: MobileComponents.Units.gridUnit
|
Layout.margins: MobileComponents.Units.gridUnit
|
||||||
Layout.topMargin: MobileComponents.Units.gridUnit * 2
|
Layout.topMargin: MobileComponents.Units.gridUnit * 2
|
||||||
visible: true
|
|
||||||
property int headingLevel: 3
|
property int headingLevel: 3
|
||||||
}
|
}
|
||||||
Item {
|
|
||||||
id: spacer
|
|
||||||
width: parent.width
|
|
||||||
Layout.fillHeight: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue