On 18/03/2013 09:15, Dominic Warzok wrote:
is there a possibility to get the expected Srting width in pixel ?

I need this because I have a navigation bar with a width of 300px. And there 
are varius
names which I want to show in it.
Now I want to truncate the String if it is longer than 300px.

You can use CSS to do this truncation for you, letting the browser to do the computation itself.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to