[Bugs] #4164 sugar NORM: Not all Activity titles in Home Favourites view Palettes are truncated

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Dec 18 10:18:01 EST 2012


#4164: Not all Activity titles in Home Favourites view Palettes are truncated
----------------------------+-----------------------------------------------
    Reporter:  garycmartin  |          Owner:  humitos               
        Type:  defect       |         Status:  accepted              
    Priority:  Normal       |      Milestone:  0.98                  
   Component:  sugar        |        Version:  Unspecified           
    Severity:  Minor        |       Keywords:  13.1.0, regression, r?
Distribution:  Unspecified  |   Status_field:  Unconfirmed           
----------------------------+-----------------------------------------------
Changes (by humitos):

 * cc: humitos, erikos (added)
  * keywords:  13.1.0, regression => 13.1.0, regression, r?
  * status:  new => accepted
  * component:  sugar-artwork => sugar
  * owner:  manuq => humitos


Comment:

 Well, I found this was lost when {{{PaletteMenuItem}}} was added in
 2d0ac2a95219992ac5be003816fdb97ff5f6af6f of sugar source code.

 That class does not handle the {{{text_maxlen}}} argument (default to 60).
 I used this argument to set the Gtk.Label's size:
 {{{label.set_max_width_chars}}} and use MIDDLE for its EllipSizeMode as
 {{{sugar3.graphics.palette.Palette}}} does for its title and subtitle.

 With these settings, the title of the palette and its items share the same
 behaviour and are rendered with the same width.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4164#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list