qmlFrontend/qml/qmlFrontend/GameConfig.qml
branchqmlfrontend
changeset 11426 ab6a6d9ebfc0
parent 10888 a04e04aaf599
child 11432 97e3e62ea5f9
--- a/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Sun Nov 22 18:06:32 2015 +0300
+++ b/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Sun Nov 22 19:29:13 2015 +0300
@@ -3,10 +3,11 @@
 
 
 Rectangle {
+    Column {
+        spacing: 8
+
     HWButton {
         id: btnPreview
-        x: 50
-        y: 16
         width: 256
         height: 128
 
@@ -27,20 +28,8 @@
         }
     }
 
-    HWButton {
-        id: btnRunGame
-        x: 600
-        y: 440
-        width: 32
-        height: 32
-
-        onClicked: HWEngine.runLocalGame()
-    }
-
     HWComboBox {
         id: cbTheme
-        x: 50
-        y: 160
         width: 256
         height: 64
 
@@ -71,10 +60,8 @@
 
     HWComboBox {
         id: cbScript
-        x: 50
-        y: 256
         width: 256
-        height: 64
+        height: 32
 
         model: scriptsModel
         delegate: Rectangle {
@@ -103,10 +90,8 @@
 
     HWComboBox {
         id: cbScheme
-        x: 50
-        y: 336
         width: 256
-        height: 64
+        height: 32
 
         model: schemesModel
         delegate: Rectangle {
@@ -136,10 +121,8 @@
 
     HWComboBox {
         id: cbAmmo
-        x: 50
-        y: 416
         width: 256
-        height: 64
+        height: 32
 
         model: ammosModel
         delegate: Rectangle {
@@ -165,6 +148,7 @@
             }
         }
     }
+    }
 
     ListView {
         id: playingTeamsList