In this snippet of code:

AbstractImagePrototype blah =
AbstractImagePrototype.create(Resources.INSTANCE.blah_image());
Button button = new Button(blah.getHTML() + " Blah");

I'd like to be able to make the image vertically aligned bottom,  but
can't figure out how to do it.

I tried:

ImagePrototypeElement element = blah.createElement();
element.getStyle().setVerticalAlign(VerticalAlign.BOTTOM);

but couldn't get that to work. Ideally, it would be nice to use a CSS
class, something like:

blah.addStyleName(Resources.INSTANCE.css().alignBottom()); // won't
compile !

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