[rt-users] Sizing a Custom Field display box

Andreas Schamanek schamane at fam.tuwien.ac.at
Wed Oct 17 15:07:47 EDT 2007


Hi there,

On Wed, 17 Oct 2007, Joop van de Wege wrote:
> Stephen Turner wrote:
>> At Wednesday 10/17/2007 01:00 PM, Kenneth Crocker wrote:
>>> I have a Custom Field that is "Fill in one text area". ... Does 
>>> anyone have a simple method to make the display box/entry area 
>>> larger? Thanks.
>> Kenn, you can enlarge the width at least, in the site config:
>>   Set($MessageBoxWidth , 72);
>> Also, html//Elements/EditCustomFieldText has Rows and Cols args 
>> which can be used to modify the box size beyond the config setting.
> And if you're using Firefox there is an extension which will let you 
> resize text fields in general. Its name is: Resizable Form Fields.
BTW, the URL is https://addons.mozilla.org/en-US/firefox/addon/3694 

And you could also use a bookmarklet[*] like

  javascript:(function(){var i,x; 
  for(i=0;x=document.getElementsByTagName(%22textarea%22)[i];++i) 
  x.rows += 5; })()

This example increases the height of all textarea fields.

HTH,
-- 
-- Andreas

[*] http://en.wikipedia.org/wiki/Bookmarklet




More information about the rt-users mailing list