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
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
May be this will help?
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/CustomButton.html
On Oct 5, 5:54 pm, mars marsg...@gmail.com wrote:
hi,
I tried to create a PushButton(with an image) in UiBinder but could
not get it work, here is my code