How can I shorten long text in a QAction created for a QMenu?
Unsolved
General and Desktop
-
When using QMenu::addAction to add a QAction, the provided text is used in its entirety which can result in the QMenu appearing excessively wide. Aside from ensuring the text is of a reasonable length before it is passed to QMenu::addAction, is there a way to edit how the menu is drawn to shorten the text?
-
@david_fmod said in How can I shorten long text in a QAction created for a QMenu?:
is there a way to edit how the menu is drawn to shorten the text?
No