[Interest] QMenu scrolling on Macintosh

John Weeks john at wavemetrics.com
Thu Sep 20 01:30:12 CEST 2012


I have a window with a popup menu button:


When close to the top of the screen, when you pop it up it correctly positions the menu with the current action under the mouse and a scroll arrow at the top to indicate items that aren't showing:



But if I scroll upward on this menu, I get a scroll arrow at the bottom:


Real Macintosh applications grow the menu downward, avoiding the scroll arrow at the bottom.

One bit of additional info: it's not a QComboBox, it's the image of a menu button and the menu itself is built dynamically and displayed using QMenu::exec().

Is it possible to get the real Macintosh behavior?

Thank you,
John Weeks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120919/49e9a734/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 9428 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120919/49e9a734/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-3.png
Type: image/png
Size: 10857 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120919/49e9a734/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-4.png
Type: image/png
Size: 9265 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120919/49e9a734/attachment-0002.png>


More information about the Interest mailing list