PDA

View Full Version : Set width of a text area in css



glafrance
17 Jun 2013, 4:17 PM
I have a textarea in a form, but I don't seem to be able to set the width in css.

slemmon
19 Jun 2013, 2:30 PM
The form's layout will try and manage heights / widths. Setting a width in CSS will be overwritten by the layout manager employed by the form.

You'd do better setting the width with the width config of the field:
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.TextArea-cfg-width