>
> Hello Tomas,
>
I am trying this solution (but no image is displayed ) :
//uibinder.xml
<*g:Image* ui:field="eventoImg" />
//view.java (in the constructor, just after widget =
binder.createAndBindUi(this) ) :
eventoImg.*setUrlAndVisibleRect*("./common/sprites_MS.png", 0, 0, 64, 64);
//css - (nothing for this method)
I am asking if the problem is that I do not know how to refer the path for
*setUrlAndVisibleRect
?
*(because I tried some wrong path and I do not have a PATH ERROR so I
cannot debug the problem)
The absolute URL of this sprite image called sprites_MS.png is :
client.resources.common.sprites_MS.png
Do you see the problem ?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/FhN5855FoRQJ.
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.