qmlFrontend/qml/qmlFrontend/GameConfig.qml
branchqmlfrontend
changeset 10610 eadf2cea55e0
parent 10608 b85759f2ba18
child 10612 eb3c1a289a23
--- a/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Wed Dec 03 00:20:21 2014 +0300
+++ b/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Wed Dec 03 23:36:18 2014 +0300
@@ -39,20 +39,25 @@
 
     HWComboBox {
         id: cbTheme
-        x: 320
-        y: 16
-        width: 100
-        height: 256
+        x: 50
+        y: 160
+        width: 256
+        height: 64
 
         model: themesModel
         delegate: Rectangle {
             height: 25
             width: 100
             color: "transparent"
+
+            property alias itemIconSource: themeIcon.source
+            property alias itemText: themeName.text
+
             Row {
-                Image {width: height; height: parent.height; source: "image://theme/" + modelData}
+                Image {id: themeIcon; width: height; height: parent.height; source: "image://theme/" + modelData}
                 Text {id: themeName; text: modelData }
             }
+
             MouseArea {
                  z: 1
                  anchors.fill: parent