CSS is "dynamic", if you specified 50% in CSS, then the browser will take 
care of it so it's always 50% (of the sizing container).

On Thursday, June 14, 2012 11:43:36 AM UTC+2, Gary wrote:
>
> I am modifying my program to react dynamically to window resizes, and also 
> to make widget sizing more robust.
>
> I have a handler for window resize events; this calls a method in each of 
> my main panels to resize all widgets accordingly. 
> Everything is styled through CSS, mostly using percentages to keep things 
> robust. How do I re-apply these CSS rules dynamically?
>
> For example, say the browser is resized from 1920x1080 to 1280x768. 
> Obviously 50% of 1920 is different than 50% of 1280, so I need to re-apply 
> the rules. I cannot find methods to do so.
>

-- 
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/-/NdD5Hd8fn8MJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to