3 * @class Roo.form.Column
4 * @extends Roo.form.Layout
5 * @children Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem Roo.form.FieldSet
6 * Creates a column container for layout and rendering of fields in an {@link Roo.form.Form}.
8 * @param {Object} config Configuration options
10 Roo.form.Column = function(config){
11 Roo.form.Column.superclass.constructor.call(this, config);
14 Roo.extend(Roo.form.Column, Roo.form.Layout, {
16 * @cfg {Number/String} width
17 * The fixed width of the column in pixels or CSS value (defaults to "auto")
20 * @cfg {String/Object} autoCreate
21 * A DomHelper element spec used to autocreate the column (defaults to {tag: 'div', cls: 'x-form-ct x-form-column'})
25 defaultAutoCreate : {tag: 'div', cls: 'x-form-ct x-form-column'},
28 onRender : function(ct, position){
29 Roo.form.Column.superclass.onRender.call(this, ct, position);
31 this.el.setWidth(this.width);