Please help with UIListLayout & scrollingFrame

I have a scrollingFrame and a UIListLayout on it , but when i add a button to my scrollingFrame a piece of button is outside of scrollingFrame , what i mean? Imagine a button with Size Of UDim2.fromScale(.4,.2) so Y is 0.2 and about 0.07 or around that is outside of the scrollingFrame, please help

1 Like

most confusing post i’ve ever seen i think
can i have a screenshot?

1 Like

It wasn’t confusing, if you mean my English then yes , and let me take one .

what about rescaleing it you could use flex features in the list layout and set it y vertical to fill

Are there any offset (pixel) values? If so then try removing them. If you’re using UI padding then also convert the values to scale.


This is what i mean , i use UIListLayout tho

what’s the canvas position?

is ClipsDescendants true or false? (does that even exist on scrollable frames??)

Its true… also if i set it it to false it would just go out of the main frame , when i scroll up im able to see the whole button but normally while you’re not scrolling and it is at the top ( where it was at first place in studio) that zone of bytton doesn’t show because uh it is not in scrollingFrame, and uh

what about the canvas position?

bababababababa

This is something that happens when using a Scrolling frame, the item on the top usually gets its top clipped out, to fix this you can use a UIPadding
And set the PaddingTop property to something like (0,10)

That makes it so any UI in the scrollingframe 10 pixels away from the top
You can increase this number or decrease it to your likings

I thought the padding is for spacing of the second , third and … objects . Let me try it

I meant use a UIPadding, which is an instance that works under most GuiObjects, not the padding of the UIListLayout

Probably should have specified


the stroke is not in frame this is my problem , i want a way that makes my button come down a bit so the border of first button shows

Yes use a UIPadding, which is an instance, that you should put into the ScrollingFrame, and set its PaddingTop property to something like (0,10), which means it’ll be 10 pixels from the top of the scrolling frame, adjust it to your needs

already did set padding , also you can see my sframe has it already , well padding wont work for that unless i add a transparent button that is really small , but i dont want to add a button to make the buttons border shows without scrolling

your frame doesnt have a UIPadding, I looked at the image its not there

bro it is only 1 button ofc u cant see uipadding with 1 button…

Ok let me say this again. UIPadding, IS NOT the property inside of a UIListLayout, UIPadding is an INSTANCE that should be PARENTED to the SCROLLINGFRAME.

whats the difference bro also i did smth rq