Currently, the radiobutton widget is formatted this way:
I want to get rid of the text completely, and center the indicator inside it's widget. So that it looks like this:
What do I need to do to format the widget this way? I am using the editor, but certain chunks of my code are handwritten, so I would prefer that the answer work between both. Thanks!


You must use a QProxyStyle to move the position of the QRadioButton indicator:
Update:
This change can not be observed in Qt Designer so you will have to use code, for example:
mainwindow.ui
main.py
Output:
Note: I added a background color to the QRadioButton so that the position can be distinguished.