Jason Chu wrote:
> On Thu, 01 Mar 2007 10:31:18 -0600
> Jim Steil <[EMAIL PROTECTED]> wrote:
>
>
>> Could someone take a look and see if this works for them, setting the
>> length of an AutoCompleteField via the attrs attribute? I'd just
>> like to know if I'm doing something wrong or if I should be
>> submitting a bug....
>>
>> -Jim
>>
>> Jim Steil wrote:
>>
>>> Hi:
>>>
>>> I'm using the AutoCompleteField widget and am passing the following:
>>>
>>> attrs=dict(size="100")
>>>
>>> However, my field isn't being resized. From what I can tell in the
>>> Widget browser, this should be supported. Can someone tell me if
>>> it works for them and I'm just doing something wrong? Or, is this
>>> a bug that should be filed?
>>>
>>> -Jim
>>>
>
> Try attrs=dict(text=dict(size="100")).
>
> The AutoCompleteField is a CompoundFormField. The actual text input
> you see is a sub-widget.
>
> Jason
>
> PS: Try not to top post...
>
And so, is there a way I can tell that sub-widget to be a little bigger?
-Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---