Changeset 236:9946b45ebb49


Ignore:
Timestamp:
Apr 20, 2011, 7:29:02 PM (13 years ago)
Author:
Evgeny Stambulchik <Evgeny.Stambulchik@…>
Branch:
default
Phase:
public
Message:

Spin button padding adjusted to make spinner same height as text field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/class/pf/theme/modern/Appearance.js

    r170 r236  
    4444    },
    4545
     46    "spinner/upbutton" :
     47    {
     48      alias : "button-frame",
     49      include : "button-frame",
     50
     51      style : function(states, superStyles)
     52      {
     53        return {
     54          icon : "decoration/arrows/up-small.png",
     55          padding : [superStyles.padding[0] - 2, superStyles.padding[1] - 5],
     56          shadow: undefined
     57        };
     58      }
     59    },
     60
     61    "spinner/downbutton" :
     62    {
     63      alias : "button-frame",
     64      include : "button-frame",
     65
     66      style : function(states, superStyles)
     67      {
     68        return {
     69          icon : "decoration/arrows/down-small.png",
     70          padding : [superStyles.padding[0] - 2, superStyles.padding[1] - 5],
     71          shadow: undefined
     72        };
     73      }
     74    },
     75
     76
    4677    "colorpopup/colorselector-okbutton":
    4778    {
Note: See TracChangeset for help on using the changeset viewer.