zonear / isotope-perfectmasonry

PerfectMasonry extension for Isotope
138 stars 49 forks source link

"There are huge gaps between my tiles" #17

Closed ProdesignerAgency closed 10 years ago

ProdesignerAgency commented 10 years ago

Hi :) Well i have still huge gaps between my tiles, i use this options. layoutMode: 'perfectMasonry', perfectMasonry: { liquid: true } and i cant use height of row, because, my items are random height, and i use photos in it. how can i fix this?

mikkotikkanen commented 10 years ago

Short answer, you can't. The extension requires that the row/column width/height is known, so that it can calculate the spans of each element. So in that case you would need to calculate the item sizes by hand and set them up to isotope/perfectMasonry

ProdesignerAgency commented 10 years ago

ok Ty :)