Skip to content

Long text break message and have extra margins #72

Closed
@Ganzolo

Description

Hi,

When I try to input very long messages I get an extra margin at the top and the bottom of each bubbles.

simulator screen shot 16 aug 2017 14 32 42

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

simulator screen shot 16 aug 2017 14 36 21

It works. Hope this helps.

Best regards,

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions