From 7e25166ce162505489cfe4775498f0291aeb6bf4 Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Wed, 23 Jun 2010 19:13:24 -0700 Subject: [PATCH] Revert the fixed frame size assumption for now. --- Tools/nib2cib/NSButton.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/nib2cib/NSButton.j b/Tools/nib2cib/NSButton.j index 6bbb426c0..a9adfb9c1 100644 --- a/Tools/nib2cib/NSButton.j +++ b/Tools/nib2cib/NSButton.j @@ -93,7 +93,7 @@ _CPButtonBezelStyleHeights[CPHUDBezelStyle] = 20; _bezelStyle = CPHUDBezelStyle; } - if ([cell isBordered] && _frame.size.height === 32.0) + if ([cell isBordered]) { CPLog.info("Adjusting CPButton height from " +_frame.size.height+ " / " + _bounds.size.height+" to " + 24); _frame.size.height = 24.0;