summaryrefslogtreecommitdiff
path: root/qml/pages/Board.qml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2014-08-28 21:30:43 +0200
committerSébastien Dailly <sebastien@chimrod.com>2014-08-28 21:30:43 +0200
commitf50c3cfac4ae07f819b9c9905b42e0ded306e0a0 (patch)
treee025d4779131e3e37efa6574f86bd4e4530862b8 /qml/pages/Board.qml
parentb11fbbb54c948a074b1a86b30fadd198c0c919c5 (diff)
Do not allow suicide
Diffstat (limited to 'qml/pages/Board.qml')
-rw-r--r--qml/pages/Board.qml11
1 files changed, 6 insertions, 5 deletions
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);
}
}