Hello,
I am using a repeater on a dynamic page to display project information (image + title) in horizontal sets of three items. However, since the project titles are of different length, the repeater doesn’t maintain a neat horizontal alignment, and the whole page appears messy as you scroll down. (See img)
I would love it if someone could share a string of code that makes the repeater behave like the blog feature, meaning either adjusting item height to the tallest item of each horizontal row, or shortening the project title/reducing its font size to match the preset item dimensions.
Thank you!
Hi,
You can try to adjust the text element in onItemReady method:
Good luck!
Roi.
Same problem, some update?
it works for me in the meantime
↓
You cannot limit the height of a repeater item, as this will require non trivial cropping of the text.
What you can do is make the item large such, if the distance between the bottom element in the repeater (the button) and the bottom of the repeater itself is over 70px, the content will expand till the border without moving the border. Only when getting to about 10px from the border, will the border move.