[ui] Update MaterialToolButton style

* flatten the button 
* color its icon when checked
This commit is contained in:
Yann Lanthony 2019-09-11 10:22:35 +02:00
parent 1c873508ef
commit b9999c01eb
No known key found for this signature in database
GPG key ID: 519FAE6DF7A70642
3 changed files with 27 additions and 17 deletions

View file

@ -35,9 +35,11 @@ Panel {
text: MaterialIcons.more_vert
font.pointSize: 11
padding: 2
onClicked: graphEditorMenu.open()
checkable: true
checked: galleryMenu.visible
onClicked: galleryMenu.open()
Menu {
id: graphEditorMenu
id: galleryMenu
y: parent.height
x: -width + parent.width
MenuItem {