I am using JSQMessagesCollectionView and applying the
attributedTextForMessageBubbleTopLabelAtIndexPath
However I have noticed that my text doesn't appear to be in 100% of the width and seems to be placed in an offset.
Picture:
In the above picture shows the attributedTextForMessageBubbleTopLabelAtIndexPath
in action; it appears to have an offset; I do not set an alignment, tab stop or anything like that.
How do I turn this offset off and make it 100% width so that I may align my text centrally.
Many thanks
I'm using C# ported version of the library but you an get the concept.
Adjust below line in in CellForRowAtIndexPath to put the insets you want :
and in JSQMessagesCollectionViewCellIncoming set the alignment in AwakeFromNib :