I'm trying to adjust the size of both the button and the text of a radio button widget in PyQt, with no luck at trying to do both.
With this bit of code:
radioButton = QRadioButton(options[x]['desc'])
radioButton.setStyleSheet('font: 16pt Helvetica MS; QRadioButton::indicator { width: 30px; height: 30px;};')
I get this:
small buttons, big text
but when I do this:
radioButton = QRadioButton(options[x]['desc'])
radioButton.setStyleSheet('QRadioButton::indicator { width: 30px; height: 30px;};')
I get this:
Big Buttons, Small Text
So what is the correct way to combine statements to get the Big Buttons/Big Text combination?
You have to use
{}
Example: