make sure largespacing is perfect multiple of small

as agreed with vdg
This commit is contained in:
Marco Martin 2018-04-20 12:42:43 +02:00
parent be129c9912
commit 5791bee19f
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ QtObject {
* the size of the default font as rendered on the screen, so it takes user-configured font * the size of the default font as rendered on the screen, so it takes user-configured font
* size and DPI into account. * 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 \ * The ratio between physical and device-independent pixels. This value does not depend on the \

View File

@ -71,7 +71,7 @@ QtObject {
* the size of the default font as rendered on the screen, so it takes user-configured font * the size of the default font as rendered on the screen, so it takes user-configured font
* size and DPI into account. * 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 \ * The ratio between physical and device-independent pixels. This value does not depend on the \