From bbd06f1cbedd7c4041a0265edb18a6a5d99cd219 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 26 Feb 2015 15:03:20 +0000 Subject: [PATCH] Fix multiline textboxes in preferences dialog are not shown due to the lack of width --- preferences/inc/class.preferences_settings.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index f53681388c..d97b8454b2 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -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'])))