summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-06 16:08:40 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-06 21:45:00 -0800
commit5735c1f387308eb8970a24aa26325ad30503ec3b (patch)
treeefdcfcb1522404935b076b49b654ef8721c5862e /mobile-widgets
parentbb123c78fab27c6a828a407ae6f6b38506cb1e52 (diff)
downloadsubsurface-5735c1f387308eb8970a24aa26325ad30503ec3b.tar.gz
mobile UI: set correct width for TeplatePage
A page by default fits in a column. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/TemplatePage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/TemplatePage.qml b/mobile-widgets/qml/TemplatePage.qml
index 7e940ccef..1b3e77cb3 100644
--- a/mobile-widgets/qml/TemplatePage.qml
+++ b/mobile-widgets/qml/TemplatePage.qml
@@ -4,7 +4,7 @@ import QtQuick.Controls 2.12
import org.kde.kirigami 2.4 as Kirigami
Kirigami.ScrollablePage {
- width: parent.width
+ width: rootItem.colWidth
height: parent.height
visible: false
background: Rectangle { color: subsurfaceTheme.backgroundColor }