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

Expose setting font for TextField #127

Merged
merged 2 commits into from
Jul 30, 2020

Conversation

lechristian
Copy link
Collaborator

Add font property to TextField. The default lazy loaded UIFont for UITextField is .preferredFont(forTextStyle: .body). Setting UITextField.font to nil results in a smaller fontSize

@lechristian lechristian force-pushed the cle/add-textfield-font branch from de6962c to d23e7b7 Compare July 30, 2020 00:41
@lechristian lechristian force-pushed the cle/add-textfield-font branch from 9905374 to a014411 Compare July 30, 2020 17:04
@lechristian lechristian merged commit 86d8ab0 into square:main Jul 30, 2020
@bencochran
Copy link
Contributor

Thanks for this!

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

Successfully merging this pull request may close these issues.

4 participants