Friday, December 21, 2012

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

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!!

On Friday, December 21, 2012 4:48:04 PM UTC+8, tong123123 wrote:
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?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/bm-kWXaYKQMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate