diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-06 16:08:40 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-06 21:45:00 -0800 |
commit | 5735c1f387308eb8970a24aa26325ad30503ec3b (patch) | |
tree | efdcfcb1522404935b076b49b654ef8721c5862e /mobile-widgets | |
parent | bb123c78fab27c6a828a407ae6f6b38506cb1e52 (diff) | |
download | subsurface-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.qml | 2 |
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 } |