c++ - Allow user to resize widgets at runtime in QT5 -
i have application written in c++/qt5 qlistview widget within qhboxlayout within qgroupbox. there qtabwidget in main window. user able resize qlistview widget clicking , dragging , other items automatically resize accordingly.
i feel should done within framework of qt5, can't life of me find way. having border on list view can resize within code of application start.
thanks jhnnslschnr able solve via qsplitter widget. if you're using qtcreator was, can use qsplitter ctrl-clicking widgets want in splitter , selecting "lay out horizontally (vertically) in splitter". user can select partitioning @ run-time.
Comments
Post a Comment