diff --git a/src/gui/MainPane/MainPane.qml b/src/gui/MainPane/MainPane.qml index 43e0e6b4..836d5d18 100644 --- a/src/gui/MainPane/MainPane.qml +++ b/src/gui/MainPane/MainPane.qml @@ -25,6 +25,7 @@ HDrawer { saveName: "mainPane" background: Rectangle { color: theme.mainPane.background } minimumSize: requireDefaultSize ? defaultSize : theme.mainPane.minimumSize + requireDefaultSize: bottomBar.filterField.activeFocus Behavior on opacity { HNumberAnimation {} } diff --git a/src/gui/UI.qml b/src/gui/UI.qml index 73e670ea..3f1354c4 100644 --- a/src/gui/UI.qml +++ b/src/gui/UI.qml @@ -131,7 +131,12 @@ Item { PageLoader { id: pageLoader anchors.fill: parent - anchors.leftMargin: mainPane.visibleSize + anchors.leftMargin: + mainPane.requireDefaultSize && + mainPane.minimumSize > mainPane.maximumSize ? + theme.mainPane.minimumSize : + mainPane.visibleSize + visible: ! mainPane.hidden || anchors.leftMargin < width } }