mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-13 04:58:18 +03:00
fixes for margins
This commit is contained in:
parent
ef2e464ca8
commit
fc8d0ed46c
@ -101,7 +101,7 @@ Item {
|
||||
|
||||
property int previousIndex: -1
|
||||
property int sizeForFill: -1 //it is used in calculations for fillWidth,fillHeight applets
|
||||
property int spacersMaxSize: Math.max(0,Math.ceil(root.iconSize / 2) - root.lengthMargin)
|
||||
property int spacersMaxSize: Math.max(0,Math.ceil(0.55 * root.iconSize) - root.lengthMargins)
|
||||
property int status: applet ? applet.status : -1
|
||||
|
||||
property real computeWidth: root.isVertical ? wrapper.width :
|
||||
@ -531,7 +531,7 @@ Item {
|
||||
readonly property bool isMinimized: false
|
||||
readonly property bool inAttention: false
|
||||
|
||||
readonly property bool hasActive: false
|
||||
readonly property bool hasActive: isActive
|
||||
readonly property bool hasMinimized: false
|
||||
readonly property bool hasShown: false
|
||||
|
||||
|
@ -32,7 +32,7 @@ Item{
|
||||
|
||||
property bool neighbourSeparator: false;
|
||||
|
||||
property int separatorSpace: neighbourSeparator && !appletItem.isSeparator && !appletItem.latteApplet ? (2+root.lengthMargins) : 0
|
||||
property int separatorSpace: neighbourSeparator && !appletItem.isSeparator && !appletItem.latteApplet ? (2+root.lengthMargin) : 0
|
||||
|
||||
property real nHiddenSize: (nScale > 0) ? (appletItem.spacersMaxSize * nScale) + separatorSpace : separatorSpace
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user