Use CSS.
You will have to edit web2py_ajax.html and remove the javascripts that alter
field lengths.
In css
input {
width: 150px;
height: 25px;
font-size: 1.5em;
...etc etc
}
OR reference by class name or ID
-Thadeus
On Tue, Nov 24, 2009 at 9:00 PM, Gary <[email protected]> wrote:
>
> Sorry, missed the posting two down titled 'Length'.
>
> That solved the problem, but is there a more eloquent way not using
> JQuery?
>
>
>
> On Nov 24, 9:44 pm, Gary <[email protected]> wrote:
> > I expected the custom widget for strings to scale to the size of the
> > length specified in the ORM, but they all come out the same size - and
> > they're big.
> >
> > Is there another place I should be entering something that helps me
> > with this? I've constructed a custom form using CRUD and the field
> > names are {{=form.custom.widget.fieldname}}.
> >
> > Thanks in advance,
> > Gary
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---