Animate Sidebar ContentView focus switch

This commit is contained in:
2022-08-31 18:28:53 -04:00
parent 1d8d00a7f2
commit 552e18a42f
4 changed files with 63 additions and 4 deletions
+2 -1
View File
@@ -17,9 +17,10 @@ ApplicationWindow {
Row {
anchors.fill: parent
focus: true
default property int selectedView: 0
property int selectedView: 0
Sidebar {
id: sidebar
maximized: parent.selectedView == 0
providers: database.Providers
}
ContentView {