diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.qml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/main.qml b/src/main.qml index f8e0df4..4a0706f 100644 --- a/src/main.qml +++ b/src/main.qml @@ -101,6 +101,23 @@ ApplicationWindow { // Our Application will start with the following content: initialItem: "scenes/Scene_placeholder.qml" + + replaceEnter: Transition { + PropertyAnimation { + property: "opacity" + from: 0 + to:1 + duration: 100 + } + } + replaceExit: Transition { + PropertyAnimation { + property: "opacity" + from: 1 + to:0 + duration: 100 + } + } } ToastManager { @@ -146,7 +163,7 @@ ApplicationWindow { id: sidebar_drawer y: top_menu_bar_frame.height - width: !inPortrait ? Math.min(300, (window.width * 0.333)) : (window.width * 0.5) + width: !inPortrait ? Math.min(300, Math.max(200, window.width * 0.333)) : (window.width * 0.5) height: window.height - top_menu_bar_frame.height modal: inPortrait |