Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Can a QComboBox resize itself when its parent changes size?
drmhkelley last edited by
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?
ComboBox have fix height sat
So it wont grow in height just like QPushButtons. But you can just change it.
Mr Aloof last edited by
use resizeEvent in parent