From 6e09e7d877b9e9f03f9d54b135c72d7da80bb1da Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 5 Mar 2015 11:46:50 +0100 Subject: [PATCH] add a spacer in the layout --- containments/homescreen/contents/ui/main.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/containments/homescreen/contents/ui/main.qml b/containments/homescreen/contents/ui/main.qml index b8033b7c..359a2250 100644 --- a/containments/homescreen/contents/ui/main.qml +++ b/containments/homescreen/contents/ui/main.qml @@ -59,7 +59,7 @@ Item { } Layout.minimumWidth: root.width - Layout.minimumHeight: appletsSpace.layout.children.count > 1 ? Math.max(applet.Layout.minimumHeight, root.height / 2) : root.height + Layout.minimumHeight: Math.max(applet.Layout.minimumHeight, root.height / 2) Layout.preferredWidth: root.width Layout.preferredHeight: Layout.minimumHeight @@ -110,6 +110,10 @@ Item { ColumnLayout { id: mainLayout anchors.fill: parent + Item { + Layout.fillWidth: true + Layout.fillHeight: true + } } SatelliteStripe { id: stripe