added width style to text area
authorJagadedes <jagadees.pillai@zyxware.com>
Thu, 13 Nov 2014 08:41:40 +0000 (14:11 +0530)
committerJagadedes <jagadees.pillai@zyxware.com>
Thu, 13 Nov 2014 08:41:40 +0000 (14:11 +0530)
CRM/Wci/Form/CreateWidget.php

index b75f47ca038d766ca2d3dcdbdf084607ccf0bff7..f1689a3336bcf303aa71f01ae6bc71e10a2001a2 100644 (file)
@@ -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:<br><SMALL><font color="red">Please customize the smarty v2 template only if you know what you are doing</font></SMALL>'), 'cols="70"')->setRows(10);
+    $this->add('textarea', 'custom_template', ts('Custom template:<br><SMALL><font color="red">Please customize the smarty v2 template only if you know what you are doing</font></SMALL>'), 'style=width:94%')->setRows(10);
 
     $this->addElement('submit','preview','name="Save and Preview" id="preview"');
     $this->addButtons(array(