Hello!
I am trying to use scrolling frames, but they are giving me a headache. Currently, I have it set up where the scrolling frame size adjusts to how many children/content you have in there. I am using SCALE for the scrolling frame itself but using offset for the content. If I change the children to use scale, it just doesn’t work and the scrolling frame doesn’t correctly calculate the size of the content. Now when you resize the window, the children don’t get smaller, they stay the same. I’ve attached a video of me resizing it.
Hello, Dev_Skylab.
A simple way to do this will be to use the Scale
unit of sizing for your items. If you see that the items are too distorted then you can try using UIAspectRatioConstraints
. You can also try setting AutomaticCanvasSize
to Y
and setting the CanvasSize
to 0,0
. This way, the items will be scaled according to the scrolling frames AbsoluteSize
and not AbsoluteCanvasSize
.
I tried doing all of that. It shrinks based on the window’s size. The only problem now is that when I add more items to the list, the items stretching crazy in a vertical direction.
Can you please show an image? I’m having a hard time understanding.