mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
Fix multiline textboxes in preferences dialog are not shown due to the lack of width
This commit is contained in:
parent
857baddc2c
commit
783b340797
@ -347,6 +347,7 @@ class preferences_settings
|
|||||||
case 'textarea':
|
case 'textarea':
|
||||||
$setting['type'] = is_a($tpl, 'etemplate') ? 'textarea' : 'textbox';
|
$setting['type'] = is_a($tpl, 'etemplate') ? 'textarea' : 'textbox';
|
||||||
$tpl->setElementAttribute($tab.'['.$setting['name'].']', 'multiline', 'true');
|
$tpl->setElementAttribute($tab.'['.$setting['name'].']', 'multiline', 'true');
|
||||||
|
$tpl->setElementAttribute($tab. '[' . $setting['name'] . ']','width', '99%' );
|
||||||
// anyway setting via css: width: 99%, height: 5em
|
// anyway setting via css: width: 99%, height: 5em
|
||||||
// for old eT use size attribute
|
// for old eT use size attribute
|
||||||
if (is_a($tpl, 'etemplate') && (!empty($setting['cols']) || !empty($setting['rows'])))
|
if (is_a($tpl, 'etemplate') && (!empty($setting['cols']) || !empty($setting['rows'])))
|
||||||
|
Loading…
Reference in New Issue
Block a user