mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-23 10:03:43 +03:00
containment:position properly add plasmoid cross
This commit is contained in:
parent
f5fb12e8da
commit
e9b90a1fc1
@ -888,12 +888,12 @@ Item {
|
||||
when: plasmoid.location === PlasmaCore.Types.BottomEdge
|
||||
|
||||
AnchorChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.horizontalCenter: parent.horizontalCenter; anchors.verticalCenter: undefined;
|
||||
anchors.right: undefined; anchors.left: undefined; anchors.top: undefined; anchors.bottom: parent.bottom;
|
||||
}
|
||||
PropertyChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.leftMargin: 0; anchors.rightMargin: 0; anchors.topMargin:0; anchors.bottomMargin: dndSpacerAddItemContainer.thickMargin;
|
||||
anchors.horizontalCenterOffset: 0; anchors.verticalCenterOffset: 0;
|
||||
}
|
||||
@ -903,12 +903,12 @@ Item {
|
||||
when: plasmoid.location === PlasmaCore.Types.TopEdge
|
||||
|
||||
AnchorChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.horizontalCenter: parent.horizontalCenter; anchors.verticalCenter: undefined;
|
||||
anchors.right: undefined; anchors.left: undefined; anchors.top: parent.top; anchors.bottom: undefined;
|
||||
}
|
||||
PropertyChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.leftMargin: 0; anchors.rightMargin: 0; anchors.topMargin: dndSpacerAddItemContainer.thickMargin; anchors.bottomMargin: 0;
|
||||
anchors.horizontalCenterOffset: 0; anchors.verticalCenterOffset: 0;
|
||||
}
|
||||
@ -918,12 +918,12 @@ Item {
|
||||
when: plasmoid.location === PlasmaCore.Types.LeftEdge
|
||||
|
||||
AnchorChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.horizontalCenter: undefined; anchors.verticalCenter: parent.verticalCenter;
|
||||
anchors.right: undefined; anchors.left: parent.left; anchors.top: undefined; anchors.bottom: undefined;
|
||||
}
|
||||
PropertyChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.leftMargin: dndSpacerAddItemContainer.thickMargin; anchors.rightMargin: 0; anchors.topMargin:0; anchors.bottomMargin: 0;
|
||||
anchors.horizontalCenterOffset: 0; anchors.verticalCenterOffset: 0;
|
||||
}
|
||||
@ -933,12 +933,12 @@ Item {
|
||||
when: plasmoid.location === PlasmaCore.Types.RightEdge
|
||||
|
||||
AnchorChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.horizontalCenter: undefined; anchors.verticalCenter: parent.verticalCenter;
|
||||
anchors.right: parent.right; anchors.left: undefined; anchors.top: undefined; anchors.bottom: undefined;
|
||||
}
|
||||
PropertyChanges{
|
||||
target: dndSpacerAddItem;
|
||||
target: dndSpacerAddItemContainer;
|
||||
anchors.leftMargin: 0; anchors.rightMargin: dndSpacerAddItemContainer.thickMargin; anchors.topMargin:0; anchors.bottomMargin: 0;
|
||||
anchors.horizontalCenterOffset: 0; anchors.verticalCenterOffset: 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user