gwt not showing the right image
Posted
by arinte
on Stack Overflow
See other posts from Stack Overflow
or by arinte
Published on 2010-05-11T20:51:56Z
Indexed on
2010/05/11
20:54 UTC
Read the original article
Hit count: 258
gwt
I have a gwt image object . In my code I set my visibleRect like this:
btnSearch.setVisibleRect(-64,-80,16,16);
So when I run my code with firebug the html looks like this:
<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">
Why is the '-' left off? When I edit it with firebug to have the '-' it works fine.
© Stack Overflow or respective owner