The parent TD has to be the exact same size as the image or the
overall Widget will not look right. I do not want to hard code the
value...
I have the resource defined as follows:
<ui:with field='res' type='package.PanelName.DefaultImages'/>
When I try the following ways I get the error "Returns int, can't be
used as class java.lang.String":
<td width="{res.refreshButton.getWidth}">...</td>
<td style='width:{res.refreshButton.getWidth}'>...</td>
I tried a few other things that resulted in the same error.
I don't understand why the UiBinder does not like width="22" when this
is valid HTML. Is there some other way to do what I am trying to do?
Thanks,
Pat