From 5791bee19f8abe6c5a3bf54833dc7d1e34cfb7d1 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 20 Apr 2018 12:42:43 +0200 Subject: [PATCH] make sure largespacing is perfect multiple of small as agreed with vdg --- src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml | 2 +- src/declarativeimports/kirigamiplasmastyle/Units.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml b/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml index c545464ba..b1247ab68 100644 --- a/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml +++ b/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml @@ -76,7 +76,7 @@ QtObject { * the size of the default font as rendered on the screen, so it takes user-configured font * size and DPI into account. */ - property int largeSpacing: Math.floor(gridUnit/2) + property int largeSpacing: smallSpacing * 2 /** * The ratio between physical and device-independent pixels. This value does not depend on the \ diff --git a/src/declarativeimports/kirigamiplasmastyle/Units.qml b/src/declarativeimports/kirigamiplasmastyle/Units.qml index c240144c5..a5c9984c8 100644 --- a/src/declarativeimports/kirigamiplasmastyle/Units.qml +++ b/src/declarativeimports/kirigamiplasmastyle/Units.qml @@ -71,7 +71,7 @@ QtObject { * the size of the default font as rendered on the screen, so it takes user-configured font * size and DPI into account. */ - property int largeSpacing: units.largeSpacing + property int largeSpacing: smallSpacing * 2 /** * The ratio between physical and device-independent pixels. This value does not depend on the \