Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to align text in custom QWidgetAction with text in standard QAction?
Diracsbracket last edited by Diracsbracket
I have a menu that contains a standard checkable
QAction, and below it two custom
QWidgetActionconsists of a QHBoxLayout with a
QComboBoxas shown in the picture below.
I would like to align the texts of the
QLabelwith the text of the standard
QAction, i.e. along the vertical horizontal line shown, using the left margin property of the layout.
Where can I find the info to determine how wide the check box is, and the various margins in the