[SOLVED] Resize QListWidget to QTabWidget size?
-
Hello! I'm a somewhat new person to developing GUI's with QT (I'm actually using PyQt) but I'm running into a problem.
I have a QTabWidget. In one of the tabs I have a QListWidget. When the QTabWidget gets resized (with the window resizing and etc...) I want the QListWidget to resize with the QTabWidget. I've been searching and haven't found a way to do it, although I'm sure it's possible.
Here's what I'm doing. I am going to have a list of icons on a few different tabs that the user can drag and drop into another window. I figured that using a tabWidget and listWidget is the best way to go.
Is anybody able to help me or point me in the correct direction? Thanks so much!
-
Did you use a "layout?":http://developer.qt.nokia.com/doc/qt-4.7/layout.html
-
Oh wow, yeah I thought I did. Apparently I did not. Ugh, thanks for the spark!