Thursday, November 10, 2011

How to change css value's through CssResource mechanism?

I have a FlexButton widget and want to change the width, that is
defined in the css file, in a flexible way.
FlexButton uses ClientBundle and CssResource.

I looked at the @eval and value() functions but don't think they help
me.
@eval references to a static function such that it results in a value
for all FlexButton instances, while I want to have different width for
different instances.

I hoped to pass in a Preferences instances that contains the width
that is then used in the css file, but I don't see how I get this to
work.

Please some advice on how best to do this?
-Ed

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate