Fixed: CPSecureTextField size was not calculated correctly in nib2cib.

Previously, the Secure Text Field size was slightly smaller when placed using Interface Builder.

This commit adjusts the size in nib2cib by ensuring CPTextField _adjustNib2CibSize is called on CPSecureTextField.
This commit is contained in:
Andrew Hankinson committed 2014-10-27 14:47:12 -04:00
1 parent 8e346f18bf
commit a783479306
1 file changed
+1
+1
View File
@@ -37,6 +37,7 @@
{
var cell = [aCoder decodeObjectForKey:@"NSCell"];
[self NS_initWithCell:cell];
[self _adjustNib2CibSize];
}
return self;