Columnizer-jQuery-Plugin icon indicating copy to clipboard operation
Columnizer-jQuery-Plugin copied to clipboard

useParentHeight option

Open djgilcrease opened this issue 12 years ago • 3 comments

Add an option to useParentHeight as the target height of the container. If you have a fixed height parent with more then 1 column the math (targetHeight = maxHeight / numCols) breaks down

djgilcrease avatar Dec 06 '12 00:12 djgilcrease

the goal here would be to fill the parent's height entirely, but not necessarily its width? for instance, if you had enough text to fill 50% of the parent container, then it would fill the left side with columnized content instead of the top half as it currently does, yes?

just making sure i'm understanding your use case. any reason you can't just pass in the height option explicitly?

adamwulf avatar Dec 06 '12 23:12 adamwulf

yes exactly.

I could pass the height explicitly, but that also limited the number of loops which caused some odd display issues in my case.

djgilcrease avatar Dec 07 '12 00:12 djgilcrease

@djgilcrease: Is it possible to do this with current columnizer code? I want to fill the height of an element by 100% and distribute the content over its width by 50% width.

strarsis avatar Mar 27 '19 13:03 strarsis