View Full Version : Default width of any field
18 Jul 2012, 2:06 AM
What is the default width of an item and how to set the width of a field....It is not working for me...grrrr...:(
18 Jul 2012, 2:18 AM
you can set the width using the width config by giving it a number (of pixels).
your problem could be with layout of the panel containing that field.
18 Jul 2012, 2:22 AM
you may give a field width by its 'width' config
fieldLabel: 'Your name',
For more info, check the API, sample is given below:-
18 Jul 2012, 3:41 AM
Keep in mind that width is actually the total combined width of the input field and it's label, where the width of the label can be controlled separately via the labelWidth: <n> config option.
18 Jul 2012, 7:56 AM
Correct .. the fields are now hbox containers and the editor portion is calculated as a delta.
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.