Skip to content

Commit

Permalink
Revert the fixed frame size assumption for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Boucher committed Jun 24, 2010
1 parent 10c067e commit 7e25166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/nib2cib/NSButton.j
Expand Up @@ -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;
Expand Down

0 comments on commit 7e25166

Please sign in to comment.