How to modify the height and width of the button in ActionCell

37 views
Skip to first unread message

tong123123

unread,
Dec 21, 2012, 3:48:04 AM12/21/12
to google-we...@googlegroups.com
In ActionCell, a button is automatically generated and I want to change the button height and width, but I found that there is no addStyleName, setCellStyle or etc to write css to modify the generated button height and width, any method to do it?

tong123123

unread,
Dec 21, 2012, 4:56:04 AM12/21/12
to google-we...@googlegroups.com
using Column.setCellStyleNames("xxx");
I can modify the button size by
.xxx button{
  height: 10px;
  width: 20px;
}

but I still cannot modify the size of the font in the button, any method to change the font size of the button?
I try
.xxx{
  font-size:10px;
}
or
.xxx button{
  height: 10px;
  width: 20px;
  font-size: 10px;
}

but all has no effect!!
Reply all
Reply to author
Forward
0 new messages