Commit 8297e5c3 authored by Ronan's avatar Ronan
Browse files

fix(ui/views/App/Main/MainWindow): use a button for buger menu

parent 47811f21
......@@ -43,14 +43,6 @@ ApplicationWindow {
title: MainWindowStyle.title
// ---------------------------------------------------------------------------
// Menu bar.
// ---------------------------------------------------------------------------
/*menuBar: MainWindowMenuBar {
hide: mainLoader.item ? !mainLoader.item.collapse.isCollapsed : true
}*/
// ---------------------------------------------------------------------------
onActiveFocusItemChanged: Logic.handleActiveFocusItemChanged(activeFocusItem)
......@@ -185,17 +177,14 @@ ApplicationWindow {
}
}
Icon {
icon: 'burger_menu_normal'
iconSize: 16
ActionButton {
icon: 'burger_menu'
iconSize: MainWindowStyle.menuBurgerSize
MainWindowMenuBar {
id: mainmenu
}
onClicked: menuBar.open()
MouseArea {
anchors.fill: parent
onClicked: mainmenu.open()
MainWindowMenuBar {
id: menuBar
}
}
}
......
......@@ -7,6 +7,7 @@ import Linphone.Styles 1.0
// =============================================================================
QtObject {
property int menuBurgerSize: 16
property int minimumHeight: 610
property int minimumWidth: 950
property int width: 950
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment