andreamazz / andreamazz/AMTagListView

setting accessoryImage on an AMTagView and then setting the tag with addTagView truncates the text label on the tag

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
757
Forks
112
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.