-
28 Aug 2012 4:51 AM #1
Problem with styling boxLabel of a checkbox
Problem with styling boxLabel of a checkbox
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 #2
HI!
i guess you may use xtype label in your fbar with your buttons.
also, you may style it according to your needs!
sample:-
Check this:-Code:{ xtype: 'label', text: 'My Awesome Field', margin: '0 0 0 10' }
http://docs.sencha.com/ext-js/3-4/#!/api/Ext.form.Labelsword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.


Reply With Quote