Fix side panes spacing animation
This commit is contained in:
parent
338986f022
commit
3a05d9bd60
|
@ -12,9 +12,9 @@ HRectangle {
|
|||
property var activeView: null
|
||||
|
||||
property int normalSpacing: 8
|
||||
readonly property int currentSpacing: collapsed ? 0 : normalSpacing
|
||||
property int currentSpacing: collapsed ? 0 : normalSpacing
|
||||
|
||||
Behavior on normalSpacing { HNumberAnimation {} }
|
||||
Behavior on currentSpacing { HNumberAnimation {} }
|
||||
|
||||
MembersView {
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -13,7 +13,9 @@ HRectangle {
|
|||
|
||||
property bool collapsed: false
|
||||
property int normalSpacing: 8
|
||||
readonly property int currentSpacing: collapsed ? 0 : normalSpacing
|
||||
property int currentSpacing: collapsed ? 0 : normalSpacing
|
||||
|
||||
Behavior on currentSpacing { HNumberAnimation {} }
|
||||
|
||||
HColumnLayout {
|
||||
anchors.fill: parent
|
||||
|
@ -24,8 +26,6 @@ HRectangle {
|
|||
|
||||
spacing: currentSpacing
|
||||
bottomMargin: currentSpacing
|
||||
|
||||
Behavior on spacing { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
PaneToolBar {
|
||||
|
|
Loading…
Reference in New Issue
Block a user