From 88d0a967f879c53e17f2635373be652b66f4433a Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Tue, 25 Feb 2014 12:06:37 +0100 Subject: [PATCH] Fix ipad texts size in Wizard --- Classes/Utils/Utils.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Classes/Utils/Utils.m b/Classes/Utils/Utils.m index fe19abf08..044bb7c9e 100644 --- a/Classes/Utils/Utils.m +++ b/Classes/Utils/Utils.m @@ -84,6 +84,10 @@ UITextField *label = (UITextField*)view; UIFont *font = [label font]; [label setFont:[UIFont fontWithName:font.fontName size:font.pointSize * mult]]; + } else if([view isKindOfClass:[UIButton class]]) { + UIButton* button = (UIButton*)view; + UIFont* font = button.titleLabel.font; + [button.titleLabel setFont:[UIFont fontWithName:font.fontName size:font.pointSize*mult]]; } else { for(UIView *subView in [view subviews]) { [LinphoneUtils adjustFontSize:subView mult:mult];