Tuesday, September 28, 2010

Re: how to change one widget's style dynamically

Forgive me if something is slightly wrong as I'm not going to validate
this through Eclipse, but I think this is what you want:

Button button = new Button("Green Button");

On Sep 28, 7:31 am, ahdipost <yaserizt...@gmail.com> wrote:
> Hi everyone,
> I wonder, how to change only one widgets style with javascript. Not
> loading from a *.css file, just think about, for gwt-button, a css
> formta is stored in a
> String cssFormat=".gwt-button{color:Green;}"; attribute. Is it
> possible to set this style to displayed button's style??
> Thanks...

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.

No comments:

Post a Comment