PDA

View Full Version : Splitter seems to ignore maximum sizes (e.g. setMaximumWidth())



lotek
10th October 2010, 13:01
Hello,

System : openSuSE 11.2
Qt : 4.6

The QSplitter seems to ignore maximum sizes (I've checked for the maximum width only).
The minimum sizes (see line 34 of the attached example) seem to be kept.

Please see the attached example (line 30), shift the horizontal splitter max. left and right.
Uncomment line 34, play with the horizontal splitter again.

I am a novice in Qt, please let me know what is wrong in my example.
Why the maximum width does not work? The splitter shall behave as common widget.

Thanks