[Bugs] #3505 Paint UNSP: Paint should have Stop icon aligned to the right

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Apr 24 11:09:51 EDT 2012


#3505: Paint should have Stop icon aligned to the right
------------------------------------------+---------------------------------
    Reporter:  HoboPrimate                |          Owner:  godiard                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Paint                      |        Version:  0.95.x                     
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Fedora                     |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by garycmartin):

 Replying to [comment:1 godiard]:
 > The problem is, in a xo with the normal resolution, if we add a
 separator, the stop button fall out of the toolbar.

 See Physics activity (and maybe some others) for the fix, you need to set
 the size of the separator so it does not eat some min amount of toolbar
 space (should be doing this in all activities):

 {{{
 separator = gtk.SeparatorToolItem()
 separator.props.draw = False
 separator.set_size_request(0, -1)
 separator.set_expand(True)
 toolbar_box.toolbar.insert(separator, -1)
 separator.show()
 }}}

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


More information about the Bugs mailing list