HexToast
(socean)
#1
I need a scrollingframe to use the X Size for scaling instead of using the Y SIze.
I need to make an expandable scrolling frame that has even padding when the size of scrolling frame canvas’s Y changes.
What I need :
https://gyazo.com/9d7be393c4c6888b4e6ba6fd8730c15d
What is currently happening when I change the Y size of the Canvas:
https://gyazo.com/5a7896ca595cd9f9a1a3962b6cba21a2
Explorer Layout:
https://gyazo.com/1a1229e7c5284f92053cc31ee763b6f8
I tried to find a solution on the devforum, but the things I tried did not work
1 Like
Why don’t you use the UIGridLayout
? You can adjust the layout to the one you want.
HexToast
(socean)
#3
I am using a UIGridLayout, look at the explorer image.
I tested it in studio, the padding didn’t change?
HexToast
(socean)
#5
The padding changes when the canvas size changes
And it doesn’t change? I tested it, the padding is still the same
HexToast
(socean)
#7
Can you send me a screenshot of the padding not changing? Because it is changing for me.
HexToast
(socean)
#9
I will send you a rbmx file with my UI and can you see if it works?
Yea sure.
(30 charsssssssssssss)
HexToast
(socean)
#11
Here you go:
(30 charssssssssss)
UI.rbxm (9.2 KB)
So the problem was that you were using scale on the CellPadding and CellSize. Use offset instead.
HexToast
(socean)
#13
But I need scale for the project I am using it for.
You should ask another person, I’m not good at UI designing.
HexToast
(socean)
#15
Ok, thanks for your help anyways.