Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the best way to display a set of tags but limit to only one line using Texture? #16

Closed
dickyj opened this issue Apr 16, 2017 · 2 comments

Comments

@dickyj
Copy link

dickyj commented Apr 16, 2017

Hi,
I am trying to implement something like the TagListView (https://github.com/ElaWorkshop/TagListView).
I am thinking of using ASCellNode and adding ASButtonNodes. But how do I limit the tags to only one line? Do I keep looping on each addition of the tag button until I find that the size has extended to the second line? And do I do it in the layoutSpecThatFits() method? Will there be a performance penalty?

Thanks,
Dicky

@Adlai-Holler
Copy link
Member

Hey @dickyj the core team can't field questions like this unfortunately. There's a ton of smart people helping one another apply Texture in the #general channel of the Texture slack team.

@shubham14896
Copy link

Hi @dickyj are you able to achieve the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants