Important: Please read the Qt Code of Conduct -

Eliding labels for menu items?

  • Wondering if there is a way to elide the text for a menu item (i.e. context menu and menu bar drop down) without eliding on the text of the QAction itself? Looking for something that can be achieved either via style sheet or a custom QProxyStyle class so the eliding happens as part of the drawing instead.

Log in to reply