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>
This commit is contained in:
jan Iversen 2020-01-22 12:54:18 +01:00 committed by Dirk Hohndel
parent 20a1b4befb
commit e22943fa21
5 changed files with 12 additions and 12 deletions

View file

@ -34,8 +34,8 @@ Kirigami.ScrollablePage {
standardButtons: StandardButton.Apply | StandardButton.Cancel
GridLayout {
rowSpacing: 10
columnSpacing: 10
rowSpacing: Kirigami.Units.smallSpacing * 2
columnSpacing: Kirigami.Units.smallSpacing
columns: 2
Text {