Fixed dialog button sizes
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Fri, 7 Oct 2011 10:37:23 +0000 (13:37 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Fri, 7 Oct 2011 10:37:23 +0000 (13:37 +0300)
Using width together with anchors so a bit risky. But works now.

qml/NewGameDialogPage.qml

index 97d84f0..eb3f633 100644 (file)
@@ -344,7 +344,8 @@ Page
                 anchors.topMargin: 15
                 anchors.left: turnsPerAdditionText.right
                 anchors.leftMargin: 25
-                anchors.rightMargin: 25
+//                anchors.rightMargin: 25
+                width: 250  //The width of all white buttons are indirectly defined by this value, and the width of black buttons is defined by the space available.
 
 
                 onClicked: