Hi,
I'm trying to exercise something simple (to use ImageResources when
defining ui:styles), but don't know if this is a typical usage for
these APIs (ClientBundle with UiBinder styles). Any directions?
* ui.xml:
<ui:with field='images' type='com.gwt.desktop.client.DesktopImages' /
>
<ui:style>
.taskbar {
width: 100%;
background: url('images.taskbar.url') repeat-x;
}
</ui:style>
* ClientBundle interface
public interface DesktopImages extends ClientBundle {
ImageResource taskbar();
}
* widget composite:
@UiField(provided=true) public final DesktopImages images = GWT.create
(DesktopImages.class);
Thanks,
Fábio.
--
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.