From 124f47373c4cc32d72626ab037f9c72a91775a1f Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 25 Dec 2017 10:23:56 +0200 Subject: [PATCH] improve margins for shrinkThickMargins --- containment/package/contents/ui/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index a4967da38..866477e1b 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -194,8 +194,8 @@ DragDrop.DropArea { //decouple iconMargin which now is used only for length calculations with thickMargins //which are used for thickness calculations - property int thickMarginBase: shrinkThickMargins ? 0 : Math.ceil(0.06 * iconSize) - property int thickMarginHigh: shrinkThickMargins ? 0 : Math.ceil(0.06 * iconSize) + property int thickMarginBase: shrinkThickMargins ? 1 : Math.ceil(0.06 * iconSize) + property int thickMarginHigh: shrinkThickMargins ? 1 : Math.ceil(0.06 * iconSize) property int thickMargin: thickMarginBase + thickMarginHigh //it is used in order to not break the calculations for the thickness placement