[Bugs] #610 NORM: Journal Palette does not manage too many characters for a title correctly

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Wed Apr 1 16:51:32 EDT 2009


#610: Journal Palette does not manage too many characters for a title correctly
-----------------------------------------------+----------------------------
    Reporter:  IwikiwI                         |          Owner:  tomeu      
        Type:  enhancement                     |         Status:  new        
    Priority:  Normal                          |      Milestone:  0.84       
   Component:  journal                         |        Version:  Unspecified
    Severity:  Blocker                         |     Resolution:             
    Keywords:  right click journal sugar-love  |   Distribution:  Fedora     
Status_field:  Assigned                        |  
-----------------------------------------------+----------------------------

Comment(by IwikiwI):

 if text_maxlen > 0:
             self._label.set_max_width_chars(text_maxlen)
             self._label.set_ellipsize(pango.ELLIPSIZE_END)

 Ok! There's already code built to slice the string when the string goes
 beyond the

 I will just need to draw the palette frame according to the screen size,
 will this do?

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/610#comment:11>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list