Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions panels/dock/package/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,21 @@ Window {
Layout.topMargin: useColumnLayout && Panel.itemAlignment === Dock.CenterAlignment ?
(dock.height - dockCenterPart.implicitHeight) / 2 - (dockLeftPart.implicitHeight + 20) + Math.min((dock.height - dockCenterPart.implicitHeight) / 2 - (dockRightPart.implicitHeight + 20), 0) : 0

Behavior on Layout.leftMargin { NumberAnimation { duration: 200; easing.type: Easing.OutCubic } }
Behavior on Layout.topMargin { NumberAnimation { duration: 200; easing.type: Easing.OutCubic } }
Behavior on Layout.leftMargin {
enabled: !dock.isDragging
NumberAnimation {
duration: 200
easing.type: Easing.OutCubic
}
}

Behavior on Layout.topMargin {
enabled: !dock.isDragging
NumberAnimation {
duration: 200
easing.type: Easing.OutCubic
}
}

OverflowContainer {
id: centerLoader
Expand Down