[Bugs] #3406 sugar-artwork NORM: Theme new spinbutton correctly

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Jun 4 15:40:27 EDT 2012


#3406: Theme new spinbutton correctly
------------------------------+---------------------------------------------
    Reporter:  erikos         |          Owner:  erikos           
        Type:  defect         |         Status:  assigned         
    Priority:  Normal         |      Milestone:  0.96             
   Component:  sugar-artwork  |        Version:  Git as of bugdate
    Severity:  Major          |       Keywords:  12.1.0           
Distribution:  OLPC           |   Status_field:  Assigned         
------------------------------+---------------------------------------------

Comment(by manuq):

 So, second version attached, my findings:

 Centered value layout is not possible in current Gtk with just CSS.

 White button while pressing is because previously we had white background
 and black foreground (the arrows were the foreground).  I think a quick
 solution is to set black background, see screenshot.  Ideally we should
 have black circle and white bg, but that may require adding svg images to
 the buttons.

 I removed the padding and the calculations for it.  Previously they were
 used in the entry, not in the buttons, to make it 45 pixel height, as the
 comment in the gtkrc for Gtk2 states: "This tries to get a height of
 exactly 45 pixel for the entry".

 Hope this is enough for the moment.

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


More information about the Bugs mailing list