mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-24 00:58:53 +00:00
Adjust size in NSStepper to CPStepper.
This commit is contained in:
1 parent
31d5ddb20a
commit
4e6b9978ce
1 file changed
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user