Monday, September 27, 2010

Changing RadioButton font-size

Hi guys,

Is it even possible to change the font-size of a RadioButton widget?

I've tried applying an style and forcing through HTML, but the size is
always the same.

Am I missing something obvious?

RadioButton rb = new RadioButton("test", "<font size=\"8px\">Test</
font>", true);

also

RadioButton rb = new RadioButton("test", "Test");
rb.setStyleName("myRB");

where I'm defining myRB in my .css file

.myRB {
font-size: 8pt;
}

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.

No comments:

Post a Comment