mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-29 18:02:03 +00:00
initWithCoder on CPTextField should respect the larger height value if it's set.
This commit is contained in:
1 parent
6b37bae2c2
commit
00e638f406
1 file changed
+1
@@ -1269,6 +1269,7 @@ var CPTextFieldIsEditableKey = "CPTextFieldIsEditableKey",
|
||||
// Make sure the frame is big enough
|
||||
var minSize = [self _minimumFrameSize];
|
||||
minSize.width = MAX(CGRectGetWidth([self frame]), minSize.width);
|
||||
minSize.height = MAX(CGRectGetHeight([self frame]), minSize.height);
|
||||
|
||||
// Only size multiline bezeled textfields if it's to small to fit the content
|
||||
if ([self isBezeled])
|
||||
|
||||
Reference in new issue
Block a user