dock: coordinated resize animation via centralized reservedWidthAnimated
This commit is contained in:
parent
23297d2c4b
commit
41293c02a9
4 changed files with 17 additions and 12 deletions
|
|
@ -17,15 +17,7 @@ PanelWindow {
|
|||
right: true
|
||||
}
|
||||
|
||||
margins.right: S.DockState.reservedWidth
|
||||
|
||||
Behavior on margins.right {
|
||||
enabled: !S.Theme.reducedMotion
|
||||
NumberAnimation {
|
||||
duration: 200
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
margins.right: S.DockState.reservedWidthAnimated
|
||||
|
||||
implicitHeight: S.Theme.barHeight
|
||||
exclusiveZone: implicitHeight
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue