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:
Dirk Hohndel 2016-02-11 06:57:38 -08:00
parent d719ef3a70
commit 5f8591e845

View file

@ -9,7 +9,7 @@ Item {
ColumnLayout {
id: startpage
width: subsurfaceTheme.columnWidth
anchors.fill: parent
height: childrenRect.height
anchors.margins: MobileComponents.Units.gridUnit / 2
property int buttonWidth: width * 0.9
@ -36,13 +36,7 @@ Item {
Layout.fillWidth: true
Layout.margins: MobileComponents.Units.gridUnit
Layout.topMargin: MobileComponents.Units.gridUnit * 2
visible: true
property int headingLevel: 3
}
Item {
id: spacer
width: parent.width
Layout.fillHeight: true
}
}
}