Move autoexpand from MultiViewPane to base HDrawer
This commit is contained in:
@@ -14,8 +14,6 @@ HDrawer {
|
||||
property int buttonWidth:
|
||||
buttonRepeater.count > 0 ? buttonRepeater.itemAt(0).implicitWidth : 0
|
||||
|
||||
property bool requireDefaultSize: false
|
||||
|
||||
readonly property alias buttonRepeater: buttonRepeater
|
||||
readonly property alias swipeView: swipeView
|
||||
|
||||
@@ -23,13 +21,6 @@ HDrawer {
|
||||
defaultSize: buttonRepeater.count * buttonWidth
|
||||
minimumSize: requireDefaultSize ? defaultSize : buttonWidth
|
||||
|
||||
Behavior on minimumSize {
|
||||
HNumberAnimation {
|
||||
overshoot: requireDefaultSize ? 1 : 4
|
||||
factor: 0.75
|
||||
}
|
||||
}
|
||||
|
||||
HColumnLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
|
Reference in New Issue
Block a user