Big improvements on sidepane auto/manual sizing

See gui-tests.md for the expected sidepane behaviors.
This commit is contained in:
miruka
2019-07-17 13:34:02 -04:00
parent e173253f74
commit 332b6f1c0d
9 changed files with 108 additions and 36 deletions

View File

@@ -27,11 +27,9 @@ SwipeView {
interactive: sidePane.reduce
SidePane {
canAutoSize: false
autoWidthRatio: 1.0
implicitWidth: swipeView.width
collapse: false
reduce: false
currentSpacing: theme.spacing
visible: swipeView.interactive
onVisibleChanged: if (currentIndex != 1) swipeView.setCurrentIndex(1)
}