Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Title Size #42

Closed
ezefranca opened this issue Jan 9, 2015 · 2 comments
Closed

Change Title Size #42

ezefranca opened this issue Jan 9, 2015 · 2 comments

Comments

@ezefranca
Copy link

Hi, what is the best way to change title font size (we work with multiples computers and using cocoapods, if I customize the root files, its a problem in another computer)

Thanks.

@dogo
Copy link
Owner

dogo commented Jan 12, 2015

/** Title Label
 *
 * The text displayed as title.
 */
@property UILabel *labelTitle;

/** Text view with the body message
 *
 * Holds the textview.
 */
@property UITextView *viewText;

You can access directly and change :D

eg :

alert.labelTitle.font = [UIFont fontWithName:@"Papyrus" size:14.0f];

@dogo
Copy link
Owner

dogo commented Jan 20, 2015

Since 0.4.2 you can use:

(void)setTitleFontFamily:(NSString *)titleFontFamily withSize:(CGFloat)size;
(void)setBodyTextFontFamily:(NSString *)bodyTextFontFamily withSize:(CGFloat)size;
(void)setButtonsTextFontFamily:(NSString *)buttonsFontFamily withSize:(CGFloat)size;

@dogo dogo closed this as completed Jan 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants