TagCellLayout icon indicating copy to clipboard operation
TagCellLayout copied to clipboard

Does it works with horizontal scrolling?

Open filipealva opened this issue 8 years ago • 12 comments
trafficstars

filipealva avatar Mar 10 '17 02:03 filipealva

Hey @filipealva! Just wondering if you need horizontal scrolling only then why do you need custom layout, I guess default flow-layout should be sufficient ?

riteshhgupta avatar Mar 10 '17 03:03 riteshhgupta

Hi @riteshhgupta! Actually it is not sufficient. I need the items to be left aligned while the default flow-layout put them in justified alignment.

Every custom flow layout to left align the items that I've found only work with vertical scrolling :/

filipealva avatar Mar 10 '17 15:03 filipealva

@filipealva I get your point 👍 But you will get this issue (justified alignment) only if you have elements less than the collection-view width, otherwise once it flows outside the boundaries of collection-view even flow-layout should work fine, right ? Let me work on it, will update it soon!

riteshhgupta avatar Mar 10 '17 19:03 riteshhgupta

I'm not sure if it is a good idea to constrain the width of my cells based on the width of collection view since the scrolling is horizontal it should not matter, or I'm missing something?

This is what I'm trying to achieve: captura de tela 2017-03-10 as 18 04 54

And this is what I have with default flow layout: captura de tela 2017-03-10 as 18 16 02

Thank you very much for helping me, I really appreciate it!

filipealva avatar Mar 10 '17 21:03 filipealva

Hey man, I think I solved it!

The solution ended up quite specific for a "left aligned horizontal scrolling layout". I'll post it into my GitHub soon, I can notify you if you are interested in.

Tks again!

filipealva avatar Mar 11 '17 01:03 filipealva

Hi @filipealva can you post this solution (horizontal scrolling) on GitHub...

atifsaeed14 avatar Mar 13 '17 12:03 atifsaeed14

Hey @filipealva, if possible can you open a PR to add this feature in TagCellLayout?

riteshhgupta avatar Jul 16 '17 08:07 riteshhgupta

@filipealva Can you please share example code for Horizontal scrolling?

MasamMahmood avatar Mar 18 '21 15:03 MasamMahmood

@filipealva I know it past over four years but can you share your solution?

Art3mS1d avatar May 02 '21 00:05 Art3mS1d

Hey guys, I'll revisit this code over the weekend and try to make it available by next week.

filipealva avatar May 04 '21 18:05 filipealva

Can anyone please share how to make the scroll direction horizontal?

bluepixeltech avatar Jul 06 '21 18:07 bluepixeltech

@filipealva is the horizontal solution posted anywhere? 😃

abrarmatin avatar Sep 24 '21 20:09 abrarmatin