Try setting the styling of the images to include "display: block;".
Images are default display: inline which leaves extra space for text
footers and such.

On May 24, 4:03 am, outsource lucas <[email protected]> wrote:
> solved it partly by this:
>
>                 Grid grid = new Grid(3,3);
>                 grid.setStyleName("grid");
>                 CellFormatter cellformat=grid.getCellFormatter();
>                 cellformat.setStyleName(0, 0, "NW");
>                 cellformat.setStyleName(0, 1, "N");
>                 cellformat.setStyleName(0, 2, "NE");
>                 cellformat.setStyleName(1, 0, "W");
>                 cellformat.setStyleName(1, 1, "C");
>                 cellformat.setStyleName(1, 2, "E");
>                 cellformat.setStyleName(2, 0, "SW");
>                 cellformat.setStyleName(2, 1, "S");
>                 cellformat.setStyleName(2, 2, "SE");
>
> now i set the TDs directly.
>
> but i can't set the TD size smaller than 6x18??? as if there is text
> there which keeps the minimum size?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to