Help Setting the Height of a Scrolling Frame

Hello! I’m wondering how to resize how long a scrolling frame scrolls for. I want to make it smaller because I don’t have anything to add at the bottom (the red area).

image

Thanks,
WiseMatheu :slightly_smiling_face:

Edit: I know this probably isn’t the right category, but it seemed closest so I put it here.

1 Like

You can change the AbsoluteWindowSize (without scrollbars) or CanvasSize (size of scrollable area) property, or you can even set AutomaticCanvasSize to true which makes the scrollingframe resize based on how many children it has to fit. :slightly_smiling_face:

More info here: ScrollingFrame | Roblox Creator Documentation

1 Like

Thanks for your reply!

If I turn down the canvas size, it automatically makes the frames inside the scrolling frame smaller. Is there any way to fix this?

If the frame is inside the scrolling frame. Then it will automatically scale down with the scrolling frame. Just re size the frame after you have changed the size of the scrolling frame canvas

1 Like

Children of a frame will size accordingly with the parent automatically, you could change the size of the children (after changing the parent) manually, not rlly a bug

1 Like

Although, I think there’s a way to make children gui objects ignore that, let me see…

UI scale will auto lock the object to the size set

1 Like

Use UI Scale . In the UI scale properties. You can lock the size of the frame no matter the parents size.

1 Like

Thanks for everyone’s replies, I am currently manually changing the canvas size and then the frame size and I will mark @Winbloo’s first message as the solution when I’ve finished. :+1:

Edit: Done! :white_check_mark:

2 Likes