summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DivePlannerView.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-22 12:54:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-24 20:20:41 -0800
commite22943fa21027917cd8d2de98cd13ae7d12d751a (patch)
tree3360f3205bacaaa7433a9209cb9310d97d411a89 /mobile-widgets/qml/DivePlannerView.qml
parent20a1b4befb84b0dd88f4d0132dfa7de6faa7037e (diff)
downloadsubsurface-e22943fa21027917cd8d2de98cd13ae7d12d751a.tar.gz
mobile-widgets/qml: use Kirigami Units instead of hardcoded values
This allows for better scaling of the UI. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DivePlannerView.qml')
-rw-r--r--mobile-widgets/qml/DivePlannerView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DivePlannerView.qml b/mobile-widgets/qml/DivePlannerView.qml
index 1258c8497..b777a9e75 100644
--- a/mobile-widgets/qml/DivePlannerView.qml
+++ b/mobile-widgets/qml/DivePlannerView.qml
@@ -13,7 +13,7 @@ Kirigami.ScrollablePage {
ColumnLayout {
width: parent.width
spacing: 1
- Layout.margins: 10
+ Layout.margins: Kirigami.Units.gridUnit
Text {
text: "Dive planner view"