[Qt-interest] QScrollArea and size issue

Matthieu Dazy matthieu.dazy at PDGM.com
Mon Dec 1 14:29:18 CET 2008


Daniel Hartwig wrote:
> sometime QScrollarea need:
> scrollarea.setWidgetResizale(true);

Yes, I have seen that. However this makes the scrollarea resize its 
contents rather than the other way around, and then the extra stretch in 
the vertical layout (which, in my actual code, is beyond my control and 
can't be removed) will force the scrollarea to some insufficient size.

Although I can get away with setResizable( true ) and setting an minimum 
size on the scrollarea, I'd like to at least understand why the current 
code is not working.

-- 
Matthieu Dazy (matthieu.dazy at pdgm.com) -- tel. +33 (0)3 83 67 66 19
Paradigm, Nancy -- http://www.pdgm.com
---------------------------------------------------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.





More information about the Qt-interest-old mailing list