stop forcing font on CPButton and CPTextField. If the developper wants to set a bigger font it is possible in Cocoa

This commit is contained in:
Christophe Serafin committed 2014-08-11 17:25:31 -07:00
1 parent 83064294ac
commit 93127489e7
2 files changed
-2

No files matched your search

-1
View File
@@ -205,7 +205,6 @@ CPButtonImageOffset = 3.0;
{
[super setControlSize:aControlSize];
[self sizeToControlSize];
[self setFont:[CPFont systemFontForControlSize:[self controlSize]]];
}
-1
View File
@@ -235,7 +235,6 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
{
[super setControlSize:aControlSize];
[self sizeToControlSize];
[self setFont:[CPFont systemFontForControlSize:[self controlSize]]];
}
#pragma mark -