[Bugs] #3569 Browse NORM: Icons inside text entries are not centered vertically

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Dec 12 08:23:58 EST 2012


#3569: Icons inside text entries are not centered vertically
----------------------------+-----------------------------------------------
    Reporter:  tonyforster  |          Owner:  erikos                
        Type:  defect       |         Status:  new                   
    Priority:  Normal       |      Milestone:  0.98                  
   Component:  Browse       |        Version:  Unspecified           
    Severity:  Unspecified  |       Keywords:  screenshot, regression
Distribution:  Unspecified  |   Status_field:  Unconfirmed           
----------------------------+-----------------------------------------------

Comment(by humitos):

 I talked to garnacho and he pointed me to the {{{.image}} class for the
 CSS theme
  * http://developer.gnome.org/gtk3/3.5/GtkStyleContext.html#GTK-STYLE-
 CLASS-IMAGE:CAPS

 With that class we are able to catch the images inside the entries:
 {{{.entry.image}}}. So, I wrote this rule:

 {{{
 .entry.image {
     padding-bottom: 6px;
 }
 }}}

 but, for some reason, padding-top and padding-bottom does not take effect.
 In fact, I could change padding-left and padding-right without no problem
 (screenshot attached)

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


More information about the Bugs mailing list