Hi,

The version in git works with that particular example but I think the fix was not complete as my application does not still work. I have created another example that demonstrates the unfixed issue.

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.

This works with wt 3.1.3 but not with the latest git version (I did not test with wt 3.1.5 but I think it does not work there either).

BR,
Janne


On 23.9.2010 14:15, Koen Deforche wrote:
Hey Janne,

2010/9/23 Janne Rönkkö<[email protected]>:
I noticed that if you have layout set into a WContainerWidget that is placed
insinde WGridLayout and you change the contents of the (first mentioned)
layout manager the WContainerWidget does not use all available space.

I have attached code that should demonstrate this issue. It works as
expected with Wt 3.1.3 but with Wt 3.1.5 the colored box height drops to one
line when the button is pressed. With Wt 3.1.3 the size of the colored
WContainerWidget does not change.
That was a regression caused by our new strategy to only layout when
needed (and in this case missing a need).

I have fixed this in latest git.

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: example.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