Hi,
I played a bit with your code and can confirm that it's definitely a bug.
Please add a bug for this at http://bugzilla.qooxdoo.org.
As a workaround include the following snippet after adding the button:
> qx.bom.AnimationFrame.request(function(){
> containerTop.invalidateLayoutCache();
> qx.ui.core.queue.Layout.add(containerTop);
> }, this)
It's a bit hacky but fixes your problem.
Best regards
Andreas
Am 28.06.2013 um 12:36 schrieb bearclaw <[email protected]>:
> Hi,
>
> First, playground url to illustrate my issue :
> http://tinyurl.com/pmv6l8v
>
> Consider this setup:
> window: vbox (so fixed size)
> composite: flow flex:1 empty
> composite: vbox flex:1 empty
>
> at this point both composite occupy half the available height.
> When I try to dynamically add an element to the top composite with flow
> layout (element that has height > windowHeight/2), the expected resize
> only partially happen: the bottom composite shrinks, but the top
> composite only partially grows (outter <div> does, but not the inner
> div). If I add a second element of same height than the first, resize
> completes ok.
>
> Is this a bug?
> Is there anything I could do to workaround that issue or fix my code?
>
> Cheers,
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel