From 5f8591e8452e338d34b79d5af84f1786fe4a4673 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 11 Feb 2016 06:57:38 -0800 Subject: QML UI: try to get correct height for start page Still not quite correct. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/StartPage.qml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'qt-mobile/qml') 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 - } } } -- cgit v1.2.3-70-g09d2