Monday, December 27, 2010

image sprite in uibinder not working

<ui:image field='logo' src='logo.png'/>
@sprite .logo {
gwt-image: 'logo';
position: absolute;
}
div class='{style.logo}'/> <div class='{style.logo}'/>

when i run my app, i can see in firebug.

image: url("data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAABLCAYAAACiLW8yAAAn4klEQVR42u19B1hUVxctMdEkRn
+Nv0aNRqMmxgoKImWAoQqKgooFsSs2sDeUiB2jMXZR7CJ2RSyh2EBUe..etc


arent it suppose to combined all <ui:image field='logo' src='logo.png'/
><ui:image field='logo2' src='logo2.png'/> into one big image rather
than encode it into stream like above?

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