But issn't it better to set the size attribute of the HTML element to
have the number of visual characters? How can I do the same in CSS?
How do I know how much  pixel (width) has one character?

On Aug 7, 6:46 pm, Thad <[email protected]> wrote:
> It may be whatever container/panel that you have text box in is
> overriding the size.  Such are the joys of HTML and CSS.
>
> On Aug 7, 8:51 am,Tobe<[email protected]> wrote:
>
>
>
> > @Michael
> > I want to change the size and not the maxlength of the TextBox
>
> > Looks like setSize() and setPixelSize() aren't changing the number of
> > visual characters, too.
>
> > On Aug 7, 3:34 am, Michael W <[email protected]> wrote:
>
> > > user TextBox method setMaxLength(...)
>
> > > On Aug 6, 2:59 pm,Tobe<[email protected]> wrote:
>
> > > > Hi,
> > > > how do I set the size parameter of a HTML input element with
> > > > type="text" for a TextBox in GWT?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to