[Qt-interest] Qt Layout Squashing

Scott Aron Bloom Scott.Bloom at sabgroup.com
Tue Mar 9 17:57:11 CET 2010


Ive seen this before as well.. Its not the stacked widget.

Create a simple widget, with 2 multi-line lables in a layout and you
will get the exact same results.

Scott

-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Dave Smith
Sent: Tuesday, March 09, 2010 08:36
To: qt-interest at trolltech.com
Subject: [Qt-interest] Qt Layout Squashing

I have seen this problem off and on over the years and I finally did 
some work to figure out what was causing it. I think the problem is that

QStackedWidgets can cause layouts to misbehave with respect to 
word-wrapped QLabels. It's hard to explain in words, so I took some 
screenshots and wrote a description on my blog:

    http://thesmithfam.org/blog/2010/03/09/qt-layout-squashing/

I'm wondering if a Troll can look at that UI file and tell me if it's a 
Qt bug or if I've just been doing something wrong all these years? :)

--Dave
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simplesquish.ui
Type: application/octet-stream
Size: 1115 bytes
Desc: simplesquish.ui
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100309/38d57686/attachment.obj 


More information about the Qt-interest-old mailing list