Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -r9048646630717f980a852df54349805ba63773e0 -rbce1e6f584c921c9fa6945204ed1e1d38021fbc8 --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 9048646630717f980a852df54349805ba63773e0) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision bce1e6f584c921c9fa6945204ed1e1d38021fbc8) @@ -7,6 +7,8 @@ property alias menuHidden : _headerMenu.hidden property alias headerMenuIndex : _headerMenu.index + readonly property int currentScreen : _headerMenu.currentScreen + property alias statusColor : _headerMenu.statusColor width : Variables.applicationWidth height : Variables.headerHeight @@ -93,13 +95,12 @@ bottomMargin: hidden || disable ? height * -1 : 0 } height : parent.height - width : parent.width / 3 + width : parent.width / 2 // gives the width of the headerbar menu hidden : true titlePixelSize : 32 backgroundColor : Colors.transparent highlightHeight : 15 isMainTreatment : true - onHiddenChanged: { if (hidden) { index = 0 } } }