Sam Halliday
unread,Apr 17, 2008, 5:50:54 PM4/17/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi all,
I have a UI issue where wrapping (or overflowing) of text inside a
resizable region looks really bad, and what I'd really like to do is
to show some ellipsis (i.e. three dots ...) instead of wrapping the
word.
For example, consider the case where you have a single resizable table
containing the text "slowly slowly catch a monkey". If word wrapping
is turned off, this text will be wider than the column width, and
overflow. However, if wrapping is enabled then the words will be
broken onto separate lines. What I'd like is for the overflowing text
to be removed altogether and the only text left on the display to be
"slowly slowly..." (depending on the width of the table).
Is it possible to do something like this?
Going even further, would it be possible to do it on a single word...
for example "discombobulated" that would be trimmed and ellipsis
inserted at the appropriate point.
This is a very "Apple" approach to dealing with long pieces of text in
resizable areas :-)