setting accessoryImage on an AMTagView and then setting the tag with addTagView truncates the text label on the tag
nsolter opened this issue · 0 comments
nsolter commented
If I create an AMTagView, set the accessoryImage, set the text with setupWithText, and then add the tag to the tag list view, the frame of the tag gets shortened so that the text label is truncated.
The problem is in addTagView, where it recalculates the frame size for the tag. This recalculation doesn't take into account a possible accessory image.