Sunday, June 20, 2010

Re: Programmatic access to inline Styles...?

OK, so the methods defined in MyStyle interface only return class-names defined in the UiBinder XML. So the proper method is addClassName.

2010/6/20 Jaroslav Záruba <jaroslav.zaruba@gmail.com>
Could someone help me understand this please?
 widget.getElement().addStyle("...");

The problem is that com.google.gwt.user.client.Element does not seem to have addStyle(String) method.

Regards
  J. Záruba

--
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