From 2f1e9d76ec6b142dbc73e3533ee57b54ef527c90 Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Fri, 29 Jun 2012 09:01:33 -0700 Subject: [PATCH] Non-bordered buttons should retain their size, not shrink to fit. --- AppKit/CPButton.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPButton.j b/AppKit/CPButton.j index 7944347cc..7add82d70 100644 --- a/AppKit/CPButton.j +++ b/AppKit/CPButton.j @@ -591,7 +591,7 @@ CPButtonImageOffset = 3.0; - (CGRect)bezelRectForBounds:(CGRect)bounds { if (![self isBordered]) - return _CGRectMakeZero(); + return bounds; var bezelInset = [self currentValueForThemeAttribute:@"bezel-inset"];