0
我有一个gwt图像对象。在我的代码设置我的visibleRect这样的:gwt没有显示正确的图像
btnSearch.setVisibleRect(-64,-80,16,16);
所以,当我与萤火虫运行我的代码生成的HTML看起来像这样:
<img border="0" style="width: 16px; height: 16px; background: url("http://tempest/deltaflow/Content/Images/icon.png") no-repeat scroll 64px 80px transparent;" src="http://127.0.0.1:8888/trunkui/clear.cache.gif">
为什么“ - ”离开?当我用萤火虫编辑它以使' - '工作正常。
另外反正是有设置在uibinder.xml文件坐标? – arinte 2010-05-11 20:53:16
你使用图像精灵还是图像资源? – Kasturi 2010-05-11 21:02:15