Skip to content

Create custom TextView class to set font#67

Merged
keith merged 1 commit intomasterfrom
ks/textview-emoji
Jun 18, 2017
Merged

Create custom TextView class to set font#67
keith merged 1 commit intomasterfrom
ks/textview-emoji

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented Jun 18, 2017

Previously when you typed an emoji into one of the NSTextViews it would
cause the font to change. This seems to be because there was no selected
font, so something breaks internally, causing it to change to a
monospace font. To fix this we just need to explicitly set a font on the
TextView. We would do this from IB except that only seems to stick if
you also provide default text for the text view.

Previously when you typed an emoji into one of the NSTextViews it would
cause the font to change. This seems to be because there was no selected
font, so something breaks internally, causing it to change to a
monospace font. To fix this we just need to explicitly set a font on the
TextView. We would do this from IB except that only seems to stick if
you also provide default text for the text view.
@keith keith force-pushed the ks/textview-emoji branch from c1b92aa to b870402 Compare June 18, 2017 18:06
@keith
Copy link
Copy Markdown
Member Author

keith commented Jun 18, 2017

Fixes #55

@keith keith merged commit d9b27e1 into master Jun 18, 2017
@keith keith deleted the ks/textview-emoji branch June 18, 2017 18:26
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.

1 participant