Hi,

Sorry, I mistakenly included wrong code to my previous mail. Here *should* be the correct one :)

So the issue arises when the layout manager does not have content initially but the content is added for the first time when the button is clicked.

BR,
Janne

On 27.9.2010 12:51, Koen Deforche wrote:
Hey Janne,

2010/9/27 Janne Rönkkö<[email protected]>:
The example is almost the same as the first one. This time the layout
manager does not have "initial content", i.e. widgets are added only after
the button is clicked. The difference is that I commented out adding
WContainerWidget to the innermost layout manager in the constructor.
What "initial content" do you see missing? I tried your test case and
must be overlooking what is wrong about it: initially, I see the blue
background without text (there is indeed no WText added). After that
it cycles through the colored versions with "Some text". If I add
"Initial text" in the constructor then  I also see that text appearing
correctly.

Regards,
koen

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Attachment: example2.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to