diff options
author | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-09-04 14:09:40 +0200 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-09-04 17:02:07 +0300 |
commit | ce3de5de51f092d715d0f2a3371c0dec64c9404f (patch) | |
tree | f11e733cfc7e5016a5686c1c5732dbb24c2d4062 /basicsuite/launchersettings/main.qml | |
parent | c43cdf48bca8dac374ddc1a44ec15265be8d259f (diff) |
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 <eirik.aavitsland@digia.com>
Diffstat (limited to 'basicsuite/launchersettings/main.qml')
-rw-r--r-- | basicsuite/launchersettings/main.qml | 6 |
1 files 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 |