Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0, 5.0.1
-
None
-
Qt 5.0.0, Qt 5.0.1, OSX 10.8.2
-
-
083c8ce840216ab412bd8d20d5f61a7e24a6d615
Description
QMenu on Mac is painted wrong (valid at least for popup menus). Top left corner edge is calculated with error. The more elements are placed in menu, the more corner angle differs from 45 degrees.
Seems that menu widgets aspect ratio is taken to calculate corner line position, that is obviously wrong.
See attached screenshot. Made with Qt example mainwindows -> menus, added more actions into menu in MainWindow::contextMenuEvent()