#4562 HIGH Update.: Long text in palettes not working
Zarro Boogs per Child
bugtracker at laptop.org
Fri Dec 21 04:18:51 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 |
---------------------+------------------------------------------------------
Changes (by rwh):
* cc: marco (added)
Comment:
Unfortunately nothing is for free! If I just set pango.ELLIPSIZE_MIDDLE
the palette always gets the minimum size. I tried messing around with the
size request business a bit, but unfortunately I couldn't get that working
(don't know well enough how that works). I think the nicest solution would
be to set a maximum size (instead of maximum characters I do now).
I kind of like the suggestion of Eben though, if we have to define the
maximum character length anyway. And it's not that much code. I would make
one adjustment: if the last word is too long, I'd add the ellipsis x
characters from the end of the string instead. Usually important indeed,
and if it's a url, for example, you're definitely interested in the last
bit.
--
Ticket URL: <http://dev.laptop.org/ticket/4562#comment:10>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list