I’m having a problem trying to convert my frames so they are always the same size on any device. I’ve done everything fine besides a frame inside of a scrolling frame. I am using a plugin called “Unit Conversion” btw.
Are you using any UILayout object? If so, that’s probably why.
Otherwise, you need to make sure your ScrollingFrame has a CanvasSize that uses Scale and not Offset
Meaning:
-- Using Scale on the CanvasSize makes some ScrollingFrames finicky,
-- so LengthOfContent is up to you to define to your needs.
MyScrollingFrame.CanvasSize = UDim2.new(0,0,LengthOfContent,0)
-- For "X" we don't want to define any size, the ScrollingFrame will use the size
-- of the container it's placed inside of. If you want to know why, you can try
-- setting the X scale to 1 and see what it does. It's pretty weird behavior.
Quick Edit: And you must also ensure your Items are Scale as well. Use RelativeXX for Squared frames like so:
Item.SizeConstraint = Enum.SizeConstraint.RelativeXX
-- Again, we use Scale in this case.
Item.Size = UDim2.new(0.25,0,0.25,0)
-- This makes a perfectly square quarter-width (of the ScrollingFrame's width)
-- frame. Pretty useful instead of fighting with calculations to get a certain
-- Scale from Offset.