Forum /
Ext GWT Community Forums (1.x) /
Ext GWT: Help & Discussion (1.x) /
Radio label text, should be easy
Radio label text, should be easy
I'm trying to change the font-family on a Radio. I've tried a variety of things:
radio.setLabelStyle(..)
radio.addStyleName(..)
radio.addInputStyleName(..)
radio.setStyleAttribute(..)
None have worked. I use firebug and, amazingly, none of these had any effect whatsoever. What am I missing?
I thought I'd add a note: new styles like text-decoration: underline work with addStyleName(..), but I'm not able to override Ext's font-family.
Another quick reply, addStyleName(..) fails because Ext automatically generates a child component with style x-form-cb-label, thus overriding my font-family. Should be a simple thing...anyone know the trick?
Ext GWT Premium Member
show me the exact code you are using including the style information - remember you need to use camel case for inline styles
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us