How can i make buttons in a uilist or grid grow while the rest shrink to make space?

How can i achieve an effect similar to the one in blue lock : rivals?

When you hover over one of the buttons, it grows in size and the rest shrink or move left / right to make space for it.

This is what my ui looks like:


image

The effect im trying to achieve:
https://gyazo.com/b352490267300e7b3596e314c9401b00

pls help​:pleading_face::pleading_face:

Bumping because its been a day :face_with_diagonal_mouth:

This functionality is built into the UIListLayout, just size up the UI element that’s a sibling of the UIListLayout

The element that is being sized completely ignores the anchorpoint.
If i want it to scale upwards it doesnt care, just goes down.
My buttons anchor point is set to (.5,1)

Set UIListLayout.VerticalAlignment to Bottom

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