QGroupBox, 2 Radio Buttons, not big enough
-
I have a QGridLayout, in this layout I have added a QGroupBox this group box has two QRadioButton instances. The text to go with each radio button is Male and Female. When this is rendered both texts are cut short, Male only shows Mal with e cut in half, Female only displays Fem, the group box is just to small. Why does this happen and how can I avoid it?
On the form the is plenty of space on the row that contains this group box.
-
I have a QGridLayout, in this layout I have added a QGroupBox this group box has two QRadioButton instances. The text to go with each radio button is Male and Female. When this is rendered both texts are cut short, Male only shows Mal with e cut in half, Female only displays Fem, the group box is just to small. Why does this happen and how can I avoid it?
On the form the is plenty of space on the row that contains this group box.
@SPlatten add size policies to your widgets. Make a small test case in Qt designer and layout your widgets there to make sure your widgets resize properly. Check the C++ code from the ui file generated in designer. Then you will know where your problem is.
-
I have a QGridLayout, in this layout I have added a QGroupBox this group box has two QRadioButton instances. The text to go with each radio button is Male and Female. When this is rendered both texts are cut short, Male only shows Mal with e cut in half, Female only displays Fem, the group box is just to small. Why does this happen and how can I avoid it?
On the form the is plenty of space on the row that contains this group box.