[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kanagram] src/harmattan: Align the user guide icons properly at the end, and others into vertical
From:       Laszlo Papp <ext-laszlo.papp () nokia ! com>
Date:       2012-02-19 22:32:02
Message-ID: 20120219223202.EF4C0A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit fe4fafb1243c41528c9bc766438ffe0b7ffc87b9 by Laszlo Papp.
Committed on 19/02/2012 at 23:31.
Pushed by lpapp into branch 'master'.

Align the user guide icons properly at the end, and others into vertical

M  +25   -6    src/harmattan/MainSettingsPage.qml

http://commits.kde.org/kanagram/fe4fafb1243c41528c9bc766438ffe0b7ffc87b9

diff --git a/src/harmattan/MainSettingsPage.qml b/src/harmattan/MainSettingsPage.qml
index 20d9aee..8db8653 100644
--- a/src/harmattan/MainSettingsPage.qml
+++ b/src/harmattan/MainSettingsPage.qml
@@ -112,9 +112,15 @@ Page {
                     spacing: 5;
 
                     Row {
+                        width: parent.width;
                         Label {
                             id: hintAppearanceLabel;
-                            anchors.left: parent.left;
+
+                            anchors {
+                                left: parent.left;
+                                verticalCenter: parent.verticalCenter;
+                            }
+
                             text: i18n("Hint appearance in seconds");
                             font.bold: true;
                         }
@@ -123,7 +129,7 @@ Page {
                             iconSource: "icon-l-user-guide-main-view.png";
 
                             anchors {
-                                right: parent.right;;
+                                right: parent.right;
                             }
 
                             onClicked: {
@@ -160,9 +166,15 @@ Page {
                     spacing: 5;
 
                     Row {
+                        width: parent.width;
                         Label {
                             id: resolveTimeLabel;
-                            anchors.left: parent.left;
+
+                            anchors {
+                                left: parent.left;
+                                verticalCenter: parent.verticalCenter;
+                            }
+
                             text: i18n("Resolve time in seconds");
                             font.bold: true;
                         }
@@ -171,7 +183,7 @@ Page {
                             iconSource: "icon-l-user-guide-main-view.png";
 
                             anchors {
-                                right: parent.right;;
+                                right: parent.right;
                             }
 
                             onClicked: {
@@ -208,7 +220,11 @@ Page {
                     height: childrenRect.height;
 
                     Label {
-                        anchors.left: parent.left;
+                        anchors {
+                            left: parent.left;
+                            verticalCenter: parent.verticalCenter;
+                        }
+
                         text: i18n("Sounds");
                         font.bold: true;
                     }
@@ -227,7 +243,10 @@ Page {
 
                     Switch {
                         id: soundsSwitch;
-                        anchors.right: parent.right;
+                        anchors {
+                            right: parent.right;
+                            verticalCenter: parent.verticalCenter;
+                        }
 
                         onCheckedChanged: {
                             kanagramEngineHelper.useSounds = checked;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic