Non-bordered buttons should retain their size, not shrink to fit.

This commit is contained in:
Aparajita Fishman
2012-07-02 09:40:00 -04:00
parent c9f32ac77b
commit 2f1e9d76ec
+1 -1
View File
@@ -591,7 +591,7 @@ CPButtonImageOffset = 3.0;
- (CGRect)bezelRectForBounds:(CGRect)bounds
{
if (![self isBordered])
return _CGRectMakeZero();
return bounds;
var bezelInset = [self currentValueForThemeAttribute:@"bezel-inset"];