Hi,

I'm using QtQuick with Qt 5.2 on ubuntu 13.10 and by default there is a
problem with menu and submenu.
There is a little spacing between the menu and the submenu. So when you go
from the menu to the submenu, you leave the main menu before entering into
the submenu... so the menu is closed!

The problem comes from the menu style. I don't know why but it uses
"QtQuick/Controls/Styles/Base/MenuStyle.qml" and not
"Styles/Desktop/MenuStyle.qml".

If I hack the "Styles/Desktop/MenuStyle.qml" and put "subMenuOverlap: -3"
instead of -1. It works fine.

So I have 3 questions:
- Is there a known bug about submenu overlap?
- Why is the "Base" style used instead of the "Desktop"?
- Is there a way to override the subMenuOverlap from my qml item?

Regards,
Fabien
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to