From 954cdabee045bb8b0cfb844a0a6f808d59c395c3 Mon Sep 17 00:00:00 2001 From: Jagadedes Date: Thu, 13 Nov 2014 14:11:40 +0530 Subject: [PATCH] added width style to text area --- CRM/Wci/Form/CreateWidget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Wci/Form/CreateWidget.php b/CRM/Wci/Form/CreateWidget.php index b75f47c..f1689a3 100644 --- a/CRM/Wci/Form/CreateWidget.php +++ b/CRM/Wci/Form/CreateWidget.php @@ -122,9 +122,9 @@ class CRM_Wci_Form_CreateWidget extends CRM_Core_Form { $val[2] ); } - $this->add('textarea', 'style_rules', ts('Additional Style Rules'), 'cols="70"')->setRows(5); + $this->add('textarea', 'style_rules', ts('Additional Style Rules'), 'style=width:94%')->setRows(5); $this->add('checkbox', 'override', ts('Override default template')); - $this->add('textarea', 'custom_template', ts('Custom template:
Please customize the smarty v2 template only if you know what you are doing'), 'cols="70"')->setRows(10); + $this->add('textarea', 'custom_template', ts('Custom template:
Please customize the smarty v2 template only if you know what you are doing'), 'style=width:94%')->setRows(10); $this->addElement('submit','preview','name="Save and Preview" id="preview"'); $this->addButtons(array( -- 2.25.1