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

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Apr 2 10:22:12 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 benzea):

 Attached a patch.

 Instead of having the text_maxlen parameter, we could just have a maxwidth
 parameter, which could just be 0.5 if the maximum width should be half the
 screen size. It should be quite simple to change the patch in that way.

 Another improvement would be to change menuitem.py to do the same
 text_maxwidth hack with a large max_width_chars value, and ellipsizing
 enabled by default.

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


More information about the Bugs mailing list