Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CellPadding on VerticalPanel (GWT)

Tags:

html

gwt

I am trying to set a cellpadding value for my vertical panel. There is an API to set cellspacing (CellPanel.setSpacing()) but none for setting the cellpadding.

How do I go about doing this?

like image 707
Kasturi Avatar asked Sep 10 '26 22:09

Kasturi


1 Answers

I did it like this:

myVerticalPanel.getElement().setAttribute("cellpadding", "5");

Carnell's answer does not work for IE7 and earlier versions.

like image 160
Perdi Estaquel Avatar answered Sep 13 '26 14:09

Perdi Estaquel