increase topMargin at behaveAsPlasmaPanel

pull/2/head
Michail Vourlakos 7 years ago
parent 7c23de6519
commit 9e4ec510f9

@ -222,14 +222,18 @@ DragDrop.DropArea {
property int thickMarginHigh: {
if (shrinkThickMargins) {
if (behaveAsPlasmaPanel){
return 0;
return (reverseLinesPosition ? Math.max(root.statesLineSize/2, 1) : 1);
} else {
return Math.max(1, 0.5 * appShadowSize);
}
} else {
if (behaveAsPlasmaPanel) {
return (reverseLinesPosition ? Math.max(root.statesLineSize, 4) : 4);
} else {
return Math.max( Math.ceil(0.06 * iconSize), 0.5 * appShadowSize);
}
}
}
property int thickMargin: thickMarginBase + thickMarginHigh
//it is used in order to not break the calculations for the thickness placement

Loading…
Cancel
Save