I had a similar issue with the earlier version of rails. I simply
removed the textarea's width from the .css file.

Roy wrote:
> Hi David,
>
> When I add "config.columns[:textfield_name].options = { :size => 80 }"
> in my code.
>
> The text field size is not change. It is still 20.
>
> On 2月27日, 下午1時00分, David Cato <[email protected]> wrote:
>   
>> Roy wrote ...
>>
>>     
>>> How to adjust the text field size in Edit or Create form, I want to
>>> enlarge the field size.
>>>       
>> Specify something like the following in your controller:
>>
>>   config.columns[:textfield_name].options = { :size => 80 }
>>   config.columns[:textarea_name].options = { :cols => 60, :rows => 10 }
>>     
> >
>
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to