-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Long text break message and have extra margins #72
Comments
Is this a valid issue? If so, @Ganzolo, care to do a PR, or would you like me to do that? |
@Ganzolo Are you changing the font for the @AndrewLauder I haven't looked into this so I don't know if it's a bug or not. Looks like something is off though. I hope to review it in a bit. |
I did not and I used the same font as the default one in UILabel. It's a very strange issue but it might be related to AutoLayout + preferredFont method. Here is a person also having trouble with this : @AndrewLauder Best regards |
@Ganzolo Do you know which release of the project you're using? I think I've resolved this in |
Hi,
When I try to input very long messages I get an extra margin at the top and the bottom of each bubbles.
After investigating I realised that if I change in MessagesCollectionViewFlowLayout.Swift (line 64) :
messageLabelFont = UIFont.preferredFont(forTextStyle: .body)
by
messageLabelFont = UIFont.systemFont(ofSize: 17) // This is the font used anyway in my UILabel
It works. Hope this helps.
Best regards,
The text was updated successfully, but these errors were encountered: