我需要创建一个按钮(因此它与图像的按钮)在gwt用UiBinder,但我不知道如何进行.这是我的ui.xml代码:
gwt
UiBinder
ui.xml
<g:PushButton ui:field="myPushButton"/>
在*.java文件中我定义了: PushButton myPushButton;
PushButton myPushButton;
如何将图像添加到按钮?我尝试了以下但不起作用:
<g:PushButton ui:field="myPushButton" image="myImage.gif" />
谢谢
java gwt uibinder
gwt ×1
java ×1
uibinder ×1