eiswand
5th December 2010, 12:53
Hello,
I have a QSplitter (horizontal), that contains 2 QListWidgets. Now I want that the first (left) QListWidgets gets ALL the space if the Window is resized (the user still should be able to resize per splitter).
In code I can do this easily by calling:
splitter->setStretchFactor(0, 1);
But is it possible to do this (setting stretch factors if a QSplitter) in Qt Designer? I haven't found this property in Qt Designer.
I have a QSplitter (horizontal), that contains 2 QListWidgets. Now I want that the first (left) QListWidgets gets ALL the space if the Window is resized (the user still should be able to resize per splitter).
In code I can do this easily by calling:
splitter->setStretchFactor(0, 1);
But is it possible to do this (setting stretch factors if a QSplitter) in Qt Designer? I haven't found this property in Qt Designer.