Index: t3lib/class.t3lib_tceforms.php =================================================================== --- t3lib/class.t3lib_tceforms.php (revision 5351) +++ t3lib/class.t3lib_tceforms.php (working copy) @@ -4069,6 +4069,14 @@ $retVal = ' '.$wAttrib.'="'.$size.'"'; } else { // Setting width by style-attribute. 'cols' MUST be avoided with NN6+ $pixels = ceil($size*$this->form_rowsToStylewidth); + // override width with userTS + $userTs = $GLOBALS['BE_USER']->getTSConfigProp('options'); + if ($textarea) { + if (isset($userTs['textareaWidth']) && t3lib_div::intInRange($userTs['textareaWidth'], 10, 5000)) { + $pixels = $userTs['textareaWidth']; + } + } + $theStyle = 'width:'.$pixels.'px;'.$this->defStyle.$this->formElStyle($textarea?'text':'input'); $retVal = ' style="'.htmlspecialchars($theStyle).'"';