View Full Version : Control the spacing between 'filedLabel' and radio button icon for 'xtype:radio'

24 Aug 2009, 1:38 AM

I need help. I have a set of radio buttons on a Panel and i'm using column layout to place them on the panel. I'm not able to figure out as to how I can control the spacing between the radio button icon and the field label associated with it.

Thanks in advance for any help.

24 Aug 2009, 2:37 AM
Are you talking about fieldLabel or boxLabel?
- The fieldLabel width is set by the surrounding form layout (using labelWidth and labelPad config options).
- The distance between the checkbox and the boxLabel is set in css (you'll have to create a custom css rule).

24 Aug 2009, 2:48 AM
I'm talking about the 'fieldLabel'. I've attached an image. I want all the radio buttons to be closely spaced.

24 Aug 2009, 3:08 AM
Thanks for your help, with the help of 'labelWidth' config property of xtype: 'fieldset', i could get the desired spacing