summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-05 20:27:05 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-13 11:32:27 -0700
commit5025943bc414a9dd9217a93d596f006a766b047e (patch)
tree3ec482a10709c83be32bb76d1927fc49dd74fe1d /mobile-widgets/qml/DiveDetails.qml
parentb9861a0059e558ed148d21539c155296325bc803 (diff)
downloadsubsurface-5025943bc414a9dd9217a93d596f006a766b047e.tar.gz
Mobile: don't make sub-pages fill the parent
This had very strange results with the current Kirigami. Instead set the width of those pages based on our overall column width. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index ce6ba3411..a4821ce62 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -59,6 +59,7 @@ Kirigami.Page {
rightPadding: 0
bottomPadding: 0
background: Rectangle { color: subsurfaceTheme.backgroundColor }
+ width: rootItem.colWidth
states: [
State {