Changeset 596


Ignore:
Timestamp:
Jul 16, 2006, 3:52:10 AM (16 years ago)
Author:
livings124
Message:

Better center text in filter buttons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BarButton.m

    r595 r596  
    141141            buttonSize = [self frame].size;
    142142    NSRect textRect = NSMakeRect((buttonSize.width - textSize.width) * 0.5,
    143             (buttonSize.height - textSize.height) * 0.5, textSize.width, textSize.height);
     143            (buttonSize.height - textSize.height) * 0.5 + 1.5, textSize.width, textSize.height);
    144144   
    145145    //create normal button
Note: See TracChangeset for help on using the changeset viewer.