How to make scrolling frame items shrink depending on amount of items there are [SOLVED]

take a look at the picture. i think you can tell what im trying to achieve

If you don’t account for the spacing, 1 / ItemCount should do the trick (in scale, not offset).

Based on your diagram:
3 items, 1/3 ~= 0.33 β†’ Size.Scale.Y for individual item
4 items, 1/4 = 0.25 β†’ Size.Scale.Y for individual item
5 items, 1/5 = 0.2 β†’ Size.Scale.Y for individual item

If you want to account for space between two items,
(1 / ItemCount) - space
Make sure you position the item correctly.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.