summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-17 12:56:47 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-17 12:56:47 -0700
commitb8253bb707ae361ba839ecd25c88f0e1b650732b (patch)
tree8d5c40b5129a2edb03328c240de4f768fe37e80f /mobile-widgets/qml
parent33f006194b5cbe78761f44ac2297e857055446c8 (diff)
downloadsubsurface-b8253bb707ae361ba839ecd25c88f0e1b650732b.tar.gz
QML UI: two columns on 1024x768 iPads
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index ae476b315..1df958302 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -317,7 +317,7 @@ Kirigami.ApplicationWindow {
property color shadedColor: "#132744"
property color accentTextColor: "#ececec"
property color diveListTextColor: "#000000" // the Kirigami theme text color is too light
- property int columnWidth: Math.round(rootItem.width/(Kirigami.Units.gridUnit*30)) > 0 ? Math.round(rootItem.width / Math.round(rootItem.width/(Kirigami.Units.gridUnit*30))) : rootItem.width
+ property int columnWidth: Math.round(rootItem.width/(Kirigami.Units.gridUnit*28)) > 0 ? Math.round(rootItem.width / Math.round(rootItem.width/(Kirigami.Units.gridUnit*28))) : rootItem.width
}
property Item stackView: pageStack
@@ -379,7 +379,7 @@ Kirigami.ApplicationWindow {
rootItem.visible = true
diveList.opacity = 1
rootItem.opacity = 1
- pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 30
+ pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 28
}
Behavior on opacity {
NumberAnimation {