packery icon indicating copy to clipboard operation
packery copied to clipboard

Horizontal layout? (Fixed height/max rows + variable width/unlimited columns)

Open KingScooty opened this issue 13 years ago • 35 comments

Is there a way to set a max height of the container or a max number of rows (3n, or 1n+2n, or 1n+1n+1n) and have the content flow horizontally, filling up all rows before moving to the next row?

I can't seem to find anything in the documentation that suggests this is possible.

KingScooty avatar May 08 '13 14:05 KingScooty

Right now - no.

If you are interested in horizontal Packery, please +1.

desandro avatar May 08 '13 14:05 desandro

+1

ghost avatar May 09 '13 17:05 ghost

+1

senner007 avatar May 10 '13 14:05 senner007

+1

fitz0019 avatar May 11 '13 08:05 fitz0019

+1

I was about to ask if I can add multiple items horizontally and I see this enhancement request. I assume append and prepend would allow users to append/prepend more than one item or as many items to fit the height as well. Thanks.

wpoosanguansit avatar May 14 '13 06:05 wpoosanguansit

+1

Skaidon avatar May 14 '13 18:05 Skaidon

+1

VincentPeters avatar May 22 '13 08:05 VincentPeters

+1

simonpeters avatar May 22 '13 08:05 simonpeters

+1

romanenko avatar Jun 04 '13 14:06 romanenko

+1

jmdall avatar Jun 05 '13 13:06 jmdall

+1

dsc avatar Jun 05 '13 15:06 dsc

+1

TheSisb avatar Jun 06 '13 23:06 TheSisb

+1

gewfy avatar Jun 17 '13 13:06 gewfy

+1

tbleckert avatar Jun 17 '13 13:06 tbleckert

Try this rotation hack while waiting for horizontal support :P http://codepen.io/gewfy/pen/GvEiH

gewfy avatar Jun 17 '13 14:06 gewfy

+1

shaheebroshan avatar Jun 26 '13 02:06 shaheebroshan

+1. I'd love to be able to do this with an infinite horizontal scroll too!

devonzara avatar Jul 26 '13 02:07 devonzara

Ok, I really needed this feat. so I went ahead and implemented it myself and created a pull request. For anyone else who can't wait, check out: https://github.com/metafizzy/packery/pull/76

devonzara avatar Jul 26 '13 21:07 devonzara

+1

spinx avatar Aug 05 '13 14:08 spinx

+1

TheDNA avatar Aug 06 '13 08:08 TheDNA