#4562 HIGH Update.: Long text in palettes not working

Zarro Boogs per Child bugtracker at laptop.org
Thu Dec 20 04:05:35 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):

 Marco, it seems we can indeed use gtk.Label.set_ellipsize(). It will
 probably figure out the width of the palette in a intelligent way.
 However, the options that you can provide are:

 {{{
 pango.ELLIPSIZE_NONE    No ellipsization.
 pango.ELLIPSIZE_START   Omit characters at the start of the text.
 pango.ELLIPSIZE_MIDDLE  Omit characters in the middle of the text.
 pango.ELLIPSIZE_END     Omit characters at the end of the text.
 }}}

 Slightly different from what Eben suggested. So we have to either set some
 limits on the lengths we allow (with the code I wrote), or we move to one
 of these mechanisms for the ellipsis.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4562#comment:8>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list