diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-05 20:27:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-13 11:32:27 -0700 |
commit | 5025943bc414a9dd9217a93d596f006a766b047e (patch) | |
tree | 3ec482a10709c83be32bb76d1927fc49dd74fe1d /mobile-widgets/qml/main.qml | |
parent | b9861a0059e558ed148d21539c155296325bc803 (diff) | |
download | subsurface-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/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 02ea0fadd..150c6d1ed 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -127,6 +127,7 @@ Kirigami.ApplicationWindow { } globalDrawer: Kirigami.GlobalDrawer { + height: rootItem.height topContent: Image { source: "qrc:/qml/icons/dive.jpg" Layout.fillWidth: true @@ -661,7 +662,6 @@ if you have network connectivity and want to sync your data to cloud storage."), DiveDetails { id: detailsWindow visible: false - anchors.fill: parent } Log { @@ -682,7 +682,6 @@ if you have network connectivity and want to sync your data to cloud storage."), MapPage { id: mapPage visible: false - anchors.fill: parent } ThemeTest { |