Thursday, March 22, 2012

Using an image from another library as a background image in a UiBinder file

I have a UiBinder file *.ui.xml that uses some other library, and I
want to use an image from that library as a background image. Is there
anyway to do this?

For example, something like

<ui:with field='global' type='com.mycorp.gwt.client.resources.Lib'/>
<ui:style field='local'>

.bgImg1 {
background-image: 'global.imgX';
}

@sprite .bgImg2 {
gwt-image: 'global.imgX';
}

</ui:style>

I've tried a few things but nothing works. Any ideas?

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