You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cell top label needs more vertical space or ability to set dynamically #161
You'll see in the screenshot that in some cases, the cellTopLabel butts up right against the message bubble. I think exposing a method in MessagesLayoutDelegate to set the size would be ideal - similar to headerViewSize.
We'll fix this by adding the UIEdgeInsets as an associated value to the LabelAlignment enum. This will allow you to set any inset dynamically. We'll then be able to remove these properties from `MessagesCollectionViewFlowLayout.
Activity
SD10 commentedon Sep 25, 2017
We're going to have a slogan "We don't use properties but there's a method for everything"
cwalo commentedon Sep 25, 2017
As @SD10 suggested, subclassing
MessagesCollectionViewLayoutand settingcellTopLabelInsetsininit()gets the job done.SD10 commentedon Sep 25, 2017
We'll fix this by adding the
UIEdgeInsetsas an associated value to theLabelAlignmentenum. This will allow you to set any inset dynamically. We'll then be able to remove these properties from `MessagesCollectionViewFlowLayout.cwalo commentedon Sep 28, 2017
Resolved by #166