aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-11 06:57:38 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-11 10:04:44 -0800
commit5f8591e8452e338d34b79d5af84f1786fe4a4673 (patch)
tree28543634cd033e26f19b845fc9b720aa0ea56383
parentd719ef3a7067516f34835155da3f18d87e598a34 (diff)
downloadsubsurface-5f8591e8452e338d34b79d5af84f1786fe4a4673.tar.gz
QML UI: try to get correct height for start page
Still not quite correct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qml/StartPage.qml8
1 files changed, 1 insertions, 7 deletions
diff --git a/qt-mobile/qml/StartPage.qml b/qt-mobile/qml/StartPage.qml
index eccdd2224..ffbd50143 100644
--- a/qt-mobile/qml/StartPage.qml
+++ b/qt-mobile/qml/StartPage.qml
@@ -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
- }
}
}