Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Resize QListWidget



  • Working with Creator, I have a dialog that contains a QListWidget. What settings to I need to change to have the QListWidget resize itself in response to the dialog being resized? Currently, if I drag the dialog larger, the QListWidget size remains the same. I've tried setting resizeMode to adjust, but that has no effect.


  • Moderators

    Put the list widget in a layout. Here's more on layouts in Qt.