Texture icon indicating copy to clipboard operation
Texture copied to clipboard

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

Open dickyj opened this issue 9 years ago • 2 comments

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

dickyj avatar Apr 16 '17 01:04 dickyj

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.

Adlai-Holler avatar Apr 17 '17 18:04 Adlai-Holler

Hi @dickyj are you able to achieve the same?

shubham14896 avatar Feb 21 '22 06:02 shubham14896