andreamazz/AMTagListView

Issue on Rotation : rearrangeTags?

wm-j-ray opened this issue · 4 comments

I have an AMTagListView configured with auto layout in a storyboard. The AMTagListView resizes properly on device rotation, but the array of AMTagViews contained therein do not rearrange to expand from portrait to horizontal.

I am assuming that rearrangeTags would be the first place to poke around. Is this correct?
Any help you could provide would be greatly appreciated.

Thanks in advance

Correct, that's rearrangeTags's job. I should make that public. I'll do it later today.

Better yet, I added a notification observer in commit 0df9f81, so it should work right out of the box.

Andrea,

Thank you so much. It's a brilliant control. 

I've looked at a lot of the 'tag/bubble' handlers out there and yours is implemented the best in my opinion. 

I learned a lot looking at your code. 

I do have a question though.  I've considered doing one of these myself using an auto layout approach on the scrollView, definitely with a category for UIView like UIView-Autolayout (https://github.com/smileyborg/UIView-AutoLayout), my current favorite. 

Would that make life easier?

On Sun, May 4, 2014 at 6:33 AM, Andrea Mazzini notifications@github.com
wrote:

Closed #7.

Reply to this email directly or view it on GitHub:
#7

Hi Bill,
Yes, a tool like that should definitely make the process easier, and it's more autolayout friendly (although changing the content size manually shouldn't lead to any issues)