#3115 HIGH Trial-3: CanvasIcon + badge == shrinkage

Zarro Boogs per Child bugtracker at laptop.org
Fri Aug 31 14:04:58 EDT 2007


#3115: CanvasIcon + badge == shrinkage
---------------------+------------------------------------------------------
  Reporter:  dcbw    |       Owner:  marco  
      Type:  defect  |      Status:  new    
  Priority:  high    |   Milestone:  Trial-3
 Component:  distro  |     Version:         
Resolution:          |    Keywords:         
  Verified:  0       |  
---------------------+------------------------------------------------------
Comment (by marco):

 I can think of these alternatives:

 1 Have sugar.Icon expand inside the ToolButton instead of setting the
 padding in theme.
 2 Patch gtk to add a style property to specify the minimal size of the
 button, rather than his padding.
 3 Special case the theme for ToolButton->Button->Icon to not put any
 padding for Icon and deal with sizing in Icon itself.
 4 Have a BadgeIcon with his own sizing logic.

 There is also the problem that gtk reserve some pixels for focus (and
 something else which I don't remember right now), so the full 75x75 is not
 free for the icon anyway. I'll have to look into that in detail.

 In any cases it seem like Icon behavior should be to expand anyway, so we
 should probably starting by implementing that.

-- 
Ticket URL: <https://dev.laptop.org/ticket/3115#comment:6>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list