From ce3de5de51f092d715d0f2a3371c0dec64c9404f Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Thu, 4 Sep 2014 14:09:40 +0200 Subject: launchersettings: make flicking user-friendly Make Flickable same size as the screen. Before this flicking was not very intuitive - flicking did not work at the areas outside of settings group boxes. Change-Id: Ice4d42813be055e7562aff41fa36223197f836ce Reviewed-by: Eirik Aavitsland --- basicsuite/launchersettings/main.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basicsuite/launchersettings/main.qml b/basicsuite/launchersettings/main.qml index 1b24b08..c7472d5 100644 --- a/basicsuite/launchersettings/main.qml +++ b/basicsuite/launchersettings/main.qml @@ -52,7 +52,6 @@ Rectangle { width: 1280 height: 800 color: "#212126" - property int margin: 10 property alias buttonStyle: buttonStyle // ******************************* STYLES ********************************** @@ -179,13 +178,14 @@ Rectangle { Flickable { anchors.top: parent.top anchors.horizontalCenter: parent.horizontalCenter - anchors.margins: margin + anchors.margins: 10 anchors.topMargin: 50 height: parent.height - width: mainLayout.width + width: parent.width contentHeight: mainLayout.height + 100 contentWidth: mainLayout.width flickableDirection: Flickable.VerticalFlick + leftMargin: (width - contentWidth) / 2 ColumnLayout { id: mainLayout -- cgit v1.2.3