On 05/10/2009 03:01 AM, LooneyLynn wrote:
> I wrote a small component supporting auto-ellipsing if the text
> content doesn't fit into a label. This is done by using a fixed width
> and a maximum height. If the text would render the label bigger than
> "InMaxHeight" pixels, it will be truncated until it fits into the
> label including the ellipsis itself. There are already solutions out
> there but they don't handle ellipsis in the way it is expected and
> useful and they also are not capable of handling large texts... This
> code should work in all common browsers. Please let me know what you
> think about it. There is no special license attached to it:
>
>    
<snip>

Thanks, I'll give it a try. I have a need for exactly something like 
this: the result of an onBlur event during which the contents of a 
RichTextArea are converted to a Label.

Cheers,
jec

--~--~---------~--~----~------------~-------~--~----~
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