Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -ra55a5d0085432ac2a18fae315476d03990b1cabb -r0808e668ca656c86185c3fa69e4a70dbdb4192c9 --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision a55a5d0085432ac2a18fae315476d03990b1cabb) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 0808e668ca656c86185c3fa69e4a70dbdb4192c9) @@ -96,8 +96,9 @@ MainMenu { id: _headerMenu anchors { - left : _dateTimeItem.right - bottom : parent.bottom + left : _dateTimeItem.right + bottom : parent.bottom + bottomMargin: hidden || disable ? height * -1 : 0 } height : parent.height width : parent.width / 3 Index: sources/gui/qml/components/MainMenu.qml =================================================================== diff -u -rf8e37a0cbb537edceebee7a7c5f2676f497d1e26 -r0808e668ca656c86185c3fa69e4a70dbdb4192c9 --- sources/gui/qml/components/MainMenu.qml (.../MainMenu.qml) (revision f8e37a0cbb537edceebee7a7c5f2676f497d1e26) +++ sources/gui/qml/components/MainMenu.qml (.../MainMenu.qml) (revision 0808e668ca656c86185c3fa69e4a70dbdb4192c9) @@ -117,10 +117,5 @@ } } } - Behavior on anchors.bottomMargin { PropertyAnimation { /*duration: 500; easing.type: Easing.OutBounce*/ } } - - onHiddenChanged: { - let isHidden = hidden || disable - _root.anchors.bottomMargin = isHidden ? -height: 0 - } + Behavior on anchors.bottomMargin { PropertyAnimation { } } } Index: sources/gui/qml/main.qml =================================================================== diff -u -rf8e37a0cbb537edceebee7a7c5f2676f497d1e26 -r0808e668ca656c86185c3fa69e4a70dbdb4192c9 --- sources/gui/qml/main.qml (.../main.qml) (revision f8e37a0cbb537edceebee7a7c5f2676f497d1e26) +++ sources/gui/qml/main.qml (.../main.qml) (revision 0808e668ca656c86185c3fa69e4a70dbdb4192c9) @@ -277,7 +277,8 @@ // 3 - Footer MainMenu { id: _mainMenu - anchors.bottom: parent.bottom + anchors.bottom : parent.bottom + anchors.bottomMargin: hidden || disable ? height * -1 : 0 function isTreatment () { _mainMenu.itemPressed(0) } function isManager () { _mainMenu.itemPressed(1) }