From b16f93fb6dce86e1ee864fac88072a908bab777e Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 16 Jul 2006 03:52:10 +0000 Subject: [PATCH] Better center text in filter buttons. --- macosx/BarButton.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/BarButton.m b/macosx/BarButton.m index 185d947b5..b11330e84 100644 --- a/macosx/BarButton.m +++ b/macosx/BarButton.m @@ -140,7 +140,7 @@ NSSize textSize = [text sizeWithAttributes: normalAttributes], buttonSize = [self frame].size; NSRect textRect = NSMakeRect((buttonSize.width - textSize.width) * 0.5, - (buttonSize.height - textSize.height) * 0.5, textSize.width, textSize.height); + (buttonSize.height - textSize.height) * 0.5 + 1.5, textSize.width, textSize.height); //create normal button [fButtonNormal lockFocus];