Re: textarea size

2006-07-28 Thread Kenneth Gonsalves
On 28-Jul-06, at 9:00 PM, Josh Trutwin wrote: > Is there any way in models.TextField to specify the number of > rows/columns that the uses? it is hardcoded in the css - change it there -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~

Re: textarea size

2006-07-28 Thread Josh Trutwin
On Fri, 28 Jul 2006 16:08:14 - "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > If you are creating your own manipulator and using that you can > use the form field LargeTextField where you can specify the row > and columns. > > class LargeTextField(TextField): > def __init__(se

Re: textarea size

2006-07-28 Thread [EMAIL PROTECTED]
If you are creating your own manipulator and using that you can use the form field LargeTextField where you can specify the row and columns. class LargeTextField(TextField): def __init__(self, field_name, rows=10, cols=40, is_required=False, validator_list=None, maxlength=None): Othe

Re: textarea size

2006-07-28 Thread Enrico
Maybe you can change it with CSS. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email t

Re: textarea size

2006-07-28 Thread Adrian Holovaty
On 7/28/06, Josh Trutwin <[EMAIL PROTECTED]> wrote: > Is there any way in models.TextField to specify the number of > rows/columns that the uses? Hi Josh, Nope, there's no way to specify that in the model, but you can target the field's form field using CSS. The textarea will have an HTML ID ca

textarea size

2006-07-28 Thread Josh Trutwin
Is there any way in models.TextField to specify the number of rows/columns that the uses? Josh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users