forked from extern/egroupware
Fix multiline textboxes in preferences dialog are not shown due to the lack of width
This commit is contained in:
parent
b38eb063f6
commit
bbd06f1cbe
@ -347,6 +347,7 @@ class preferences_settings
|
||||
case 'textarea':
|
||||
$setting['type'] = is_a($tpl, 'etemplate') ? 'textarea' : 'textbox';
|
||||
$tpl->setElementAttribute($tab.'['.$setting['name'].']', 'multiline', 'true');
|
||||
$tpl->setElementAttribute($tab. '[' . $setting['name'] . ']','width', '99%' );
|
||||
// anyway setting via css: width: 99%, height: 5em
|
||||
// for old eT use size attribute
|
||||
if (is_a($tpl, 'etemplate') && (!empty($setting['cols']) || !empty($setting['rows'])))
|
||||
|
Loading…
Reference in New Issue
Block a user