View Full Version : Problem with styling boxLabel of a checkbox

28 Aug 2012, 4:51 AM
I am a newbie to ExtJS, I have a Checkbox in 'fbar' of a 'fit' layout panel, fbar has one checkbox (with long text as boxLabel) 3 buttons in a single line, my problem is the checkbox boxlabel test is getting overlapped with leftmost button, how can I wrap the boxLabel text? With fit layout I can not use fieldLabel thus labelStyle can not be used, labelWidth also I can not use

3 Sep 2012, 2:30 AM
i guess you may use xtype label in your fbar with your buttons.
also, you may style it according to your needs!


xtype: 'label',
text: 'My Awesome Field',
margin: '0 0 0 10'

Check this:-