#4562 HIGH Update.: Long text in palettes not working
Zarro Boogs per Child
bugtracker at laptop.org
Wed Dec 19 18:55:49 EST 2007
#4562: Long text in palettes not working
---------------------+------------------------------------------------------
Reporter: erikos | Owner: rwh
Type: defect | Status: new
Priority: high | Milestone: Update.2
Component: sugar | Version:
Resolution: | Keywords:
Verified: 0 |
---------------------+------------------------------------------------------
Comment(by rwh):
Eben: the devil is in the details :) did you have a specific length in
mind, or should that be related to the size available (tricky!) or
changeable with a reasonable default. Here's the result of the code I
wrote so far, with maximum string length of 60. If the last word has more
than 20 characters it is considered too long.
{{{
rwh at rwh:~/src$ python ellipsis.py
This is a test string
This is a test string
This is a much longer test string to see what happens with a really long
text
This is a much longer test string to see what happens w... text
This is a much longer test stringtoseewhathappenswithareallylongtext
This is a much longer test stringtoseewhathappenswithareally...
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/4562#comment:6>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list