Incorrect placement into TagsView
Hello,
You have done a great job with this tagView package ! I am trying to use it but I am encountering an issue that I can solve.
The list is randomly incorrectly displayed into my view. Sometimes the list is correctly displayed when I add a tag and sometimes not... The RowQuantity property is correct.
Here I joined my code and 3 photos to explain my case : `this._tagsView = new TagListView(true) { MarginX = 8f, MarginY = 8f, PaddingY = 8f, PaddingX = 8f, TextFont = FontHelper.GetFont(FontsEnum.Medium, 14f), TagTextColor = ColorHelper.GreyishBrown, Alignment = TagsAlignment.Left, Frame = new CGRect(24, 16, _tagView.Frame.Width, _tagView.Frame.Height), TagButtonSize = 16f, TagButtonColor = ColorHelper.Black, TagBackgroundColor = ColorHelper.paleGrey };
this._tagsView.TagButtonTapped += (sender, e) =>
{
this._tagsView.RemoveTag(e);
};
//_tagView is the view where I placed my TagListView
this._tagView.AddSubview(_tagsView);
this._tagView.AddConstraints(
this._tagsView.Below(this._limitForTagView, 16f)
);
_tagsView.AddTags(list);`
Tag not added :
Tag correctly added :
Tag incorrectly added :
Any idea on how I can fix this issue please?
PS : Sorry the first part of my code can not be added as I wished.
@rudja have you been able to solve this? If not, can you please try using AutoLayout and constraints instead of Frames? Apologies for the delay, I'm back to coding now