Unsolved Can a QComboBox resize itself when its parent changes size?
-
I place a variety of widgets in a QGridLayout and expect them to resize themselves (according to the desired set[Column/Row]Stretch factors) when I stretch the containing widget. Many widgets (e.g. QLabel, QLineEdit, QTextEdit behave as expected. Unfortunately, QComboBox does not.
Is it possible to convince it to exhibit that behavior?
-
Hi¨
ComboBox have fix height sat
So it wont grow in height just like QPushButtons. But you can just change it.
-
use resizeEvent in parent