>
> The jsfiddle code does not solve my problem.
> You removed the float:left in the contentPanel, so I no longer get an 
> auto-sizing FloatPanel.
>

I modified the previous jsfiddle: http://jsfiddle.net/F2fPN/3/

 

> Tell me more about setting the width and margins through GWT.
>
> My question is: When, in the the timing of things, do I know that the 
> FlowPanels have been rendered, so that I
> can fetch theirs widths, do my calculations, and set margins?
>

You can give the browser enough time to render it by using GWT's Scheduler 
class and executing a deferred command. In the deferred command you can do 
your calculations. 

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wdCQ1PR8afMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to