mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-22 22:45:52 +00:00
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:
1 parent
83064294ac
commit
93127489e7
2 files changed
-2
No files matched your search
@@ -205,7 +205,6 @@ CPButtonImageOffset = 3.0;
|
||||
{
|
||||
[super setControlSize:aControlSize];
|
||||
[self sizeToControlSize];
|
||||
[self setFont:[CPFont systemFontForControlSize:[self controlSize]]];
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -235,7 +235,6 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
|
||||
{
|
||||
[super setControlSize:aControlSize];
|
||||
[self sizeToControlSize];
|
||||
[self setFont:[CPFont systemFontForControlSize:[self controlSize]]];
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
Reference in new issue
Block a user