how about using the outerWidth jQuery property?
Will it return a meaningfull value about the text length?

g.



On Tue, Apr 13, 2010 at 10:23 AM, lictor4 <[email protected]> wrote:

> Ya I've been thinking about this too, tho I haven't tested anything
> out yet.
> The native UI will allow the "back" button to grow if the toolbar
> title is short(or not present) where as iUI limits the width of the
> back button.
> Maybe this can be solved purely with css, if not the js example here
> would help.
>
>
>
>
> Gonso wrote:
> > Hi all
> >
> > Im wondering if there is a way to adjust font size automatically.
> >
> > Im building a dynamic application and sometimes the texts that appear
> > in the title bar (or in some iUI, jQTouch elements) are truncated.
> >
> > Is there a way (HTML, js, jsp even) to say "adjust font so that it
> > fits"????
> >
> > Thanks in advance.
> > g.
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<iphonewebdev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/iphonewebdev?hl=en.
>
>


-- 
-----------------------------------
Gonzalo Floría Giráldez

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en.

Reply via email to