Adjust size in NSStepper to CPStepper.

This commit is contained in:
Alexander Ljungberg committed 2012-08-31 22:09:11 +01:00
1 parent 31d5ddb20a
commit 4e6b9978ce
1 file changed
+5
+5
View File
@@ -38,6 +38,11 @@
_valueWraps = [cell valueWraps];
_autorepeat = [cell autorepeat];
_objectValue = [cell objectValue];
// Convert Cocoa normal size to Cappuccino normal size.
_frame.origin.y += 2;
_frame.size.height -= 2;
_bounds.size.height -= 2;
}
return self;