Hi,

I'm writing a simple Android/IOS app using qml, but for the live of me I can't figure out, if there is a way to
change the toolbar background color without effecting any other element of the style.

What I'm currently at is this:
Qt Code:
  1. import QtQuick 2.4
  2. import QtQuick.Controls 1.3
  3. import QtQuick.Controls.Styles 1.4
  4.  
  5. ApplicationWindow {
  6. title: "HAL 9000"
  7.  
  8. height: 960
  9. width: 600
  10. color: "white"
  11. visible: true
  12.  
  13. menuBar: MenuBar {
  14. Menu {
  15. title: "Views"
  16.  
  17. [...]
  18. }
  19. }
  20.  
  21. toolBar: ToolBar {
  22. [...]
  23.  
  24. style: ToolBarStyle {
  25. panel: Rectangle {
  26. color: "blue"
  27. }
  28. }
  29. }
  30. }
To copy to clipboard, switch view to plain text mode 

While this does change the color correctly, the problem is that the menu-botton is invisible/non-existant since my ToolBarStyle does not contain anything for its menuButton property.
Since I only want to change the background color (of the toolbar) without having to "reimplement" the default implementation of the menuButton property, I do wonder if there is a way to simple change color, eg. via toolBar.style.panel.color: "pink"?

Any help would be greatly appreciated...