1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-14 09:18:06 +03:00

remove panel external margin

This commit is contained in:
Michail Vourlakos 2019-03-11 16:32:40 +02:00
parent 9e6abb70d0
commit 7902bf8ce5

View File

@ -203,10 +203,10 @@ Item{
property int panelSize: automaticPanelSize
property int automaticPanelSize: {
if (root.behaveAsPlasmaPanel) {
return root.iconSize + root.thickMargins + 2;//root.panelThickMarginHigh;
return root.iconSize + root.thickMargins;// + 2;
} else {
var icons = root.iconSize + root.thickMargins + 2; //root.panelThickMarginHigh;
var panelt = root.themePanelThickness + 2; //root.panelThickMarginHigh;
var icons = root.iconSize + root.thickMargins;// + 2;
var panelt = root.themePanelThickness;// + 2;
root.realPanelThickness = icons;