Tuesday, August 19, 2014

Re: how to create PushButton using UiBinder


you can use this code
<ui:image field="viewimage" src="task/images/image.png" />

<g:PushButton >
<g:upFace image="{viewimage}" />
</g:PushButton>

On Wednesday, October 6, 2010 7:54:29 AM UTC+7, mars wrote:
hi,

I tried to create a PushButton(with an image) in UiBinder but could
not get it work, here is my code

<g:PushButton ui:field="myPushButton" image="myImage.gif"/>

anyone know how? thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment