summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2014-08-28 21:45:35 +0200
committerSébastien Dailly <sebastien@chimrod.com>2014-08-28 21:45:35 +0200
commite0184289f4d95d1d41959b5e043c9584cc66cefb (patch)
tree35db4194f8c2620a24fc21fe95ee528da51af3cd
parentf50c3cfac4ae07f819b9c9905b42e0ded306e0a0 (diff)
Update Board gui
-rw-r--r--qml/pages/Board.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/qml/pages/Board.qml b/qml/pages/Board.qml
index 03fa000..cee8492 100644
--- a/qml/pages/Board.qml
+++ b/qml/pages/Board.qml
@@ -15,7 +15,7 @@ Page {
Column {
- id: column
+ id : column
anchors.fill: parent;
spacing: 25
@@ -45,22 +45,22 @@ Page {
}
Goban {
- id: goban;
+ id:goban
width: parent.width;
height: column.height - (row.height + view.height);
}
-
SlideshowView {
id: view
width: parent.width
- height: 100
+ height: 200
itemWidth: width / 2
onCurrentIndexChanged: {py.call('board.getGame', [view.currentIndex], goban.setGoban)}
- model: 5
+ model: 1
delegate: Text {
horizontalAlignment: Text.AlignHCenter
+ verticalAlignment: Text.AlignVCenter
color: Theme.primaryColor
font.family: Theme.fontFamily
@@ -68,7 +68,7 @@ Page {
width: view.itemWidth
height: view.height
- text: "Problem " + (index + 1);
+ text: "Problem " + (index + 1);
}
}