I'm trying to have a multi-line checkbox/radiobutton with Qt using standard QCheckbox/QRadioButton.
I didn't find the direct solution since QRadioButton{wrap:true;}
has no effect.
The only thing possible would be to access to the QRadioButton->label->setLineWrap(true)
but
- I'd like to do that from the designer
- not having to rewrite a widget
Any idea beside putting a QRadioButton and a QLabel next to each others?
Thx, Boris.
The only way I know (but it's not "layoutable") is putting \n sign into a string.