From f50c3cfac4ae07f819b9c9905b42e0ded306e0a0 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 28 Aug 2014 21:30:43 +0200 Subject: Do not allow suicide --- qml/pages/Board.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'qml/pages/Board.qml') diff --git a/qml/pages/Board.qml b/qml/pages/Board.qml index 27fc319..03fa000 100644 --- a/qml/pages/Board.qml +++ b/qml/pages/Board.qml @@ -15,11 +15,13 @@ Page { Column { + id: column anchors.fill: parent; spacing: 25 Row { + id: row width: parent.width; IconButton { @@ -43,9 +45,9 @@ Page { } Goban { - id:goban - width: parent.width - height: 650 + id: goban; + width: parent.width; + height: column.height - (row.height + view.height); } @@ -59,7 +61,6 @@ Page { model: 5 delegate: Text { horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter color: Theme.primaryColor font.family: Theme.fontFamily @@ -67,7 +68,7 @@ Page { width: view.itemWidth height: view.height - text: "Problem " + index + text: "Problem " + (index + 1); } } -- cgit v1.2.3