Truncate Text Based On Available Space?
Terry Judd
terry.judd at unimelb.edu.au
Wed Jun 12 21:19:19 EDT 2013
Scott - have a look at the truncateText routine (I think that's what it's called) within the datagrid.
Terry...
On 13/06/2013, at 11:14 AM, Scott Rossi wrote:
> Has anyone created a routine that will truncate text in a field to given
> pixel width, and append ellipses?
>
> I found one that limits text based on character count, but I'm looking to
> limit based on available space.
>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
More information about the use-livecode
mailing list