mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-12 05:31:29 +00:00
Non-bordered buttons should retain their size, not shrink to fit.
This commit is contained in:
+1
-1
@@ -591,7 +591,7 @@ CPButtonImageOffset = 3.0;
|
||||
- (CGRect)bezelRectForBounds:(CGRect)bounds
|
||||
{
|
||||
if (![self isBordered])
|
||||
return _CGRectMakeZero();
|
||||
return bounds;
|
||||
|
||||
var bezelInset = [self currentValueForThemeAttribute:@"bezel-inset"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user