From e0184289f4d95d1d41959b5e043c9584cc66cefb Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 28 Aug 2014 21:45:35 +0200 Subject: Update Board gui --- qml/pages/Board.qml | 12 ++++++------ 1 file 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); } } -- cgit v1.2.3