Perhaps I should have tested my CSS first before asking a question. I was 
just searching the API for methods. Such folly, I do apologise. Thanks 
anyway.

On Thursday, June 14, 2012 11:52:24 AM UTC+1, Thomas Broyer wrote:
>
> 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/-/KtQkZKm_8MEJ.
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