aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-19 14:14:49 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-19 14:14:49 -0700
commita8cfa0abf53fc0de5457d6db6c743958d50a5041 (patch)
tree3b7dc3b2b6983027c46cd12d2db545cb36366171 /mobile-widgets/qml
parentb3d0d9fd4eb192ebefe1fdc7b02f3d989f40b36a (diff)
downloadsubsurface-a8cfa0abf53fc0de5457d6db6c743958d50a5041.tar.gz
QML UI: make multi column support work again
Due to a change in Kirigami on most tablets even in landscape mode we are only showing one column. Because of this I missed the fact that I had broken multi column support by mistake. Without setting the width of the dive list it expands all the way and prevents the showing of two pages next to each other. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 6d76cb864..d3b72c6ea 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -13,7 +13,7 @@ Kirigami.ScrollablePage {
background: Rectangle {
color: Kirigami.Theme.viewBackgroundColor
}
-
+ width: subsurfaceTheme.columnWidth
property int credentialStatus: manager.credentialStatus
property int numDives: diveListView.count
property color textColor: subsurfaceTheme.diveListTextColor