This UI is scaled but not scaled, why?

This Gui needs to be scaled for all devices.
This Gui is indeed scaled, but doesn’t look like it. How can I fix it.


No it is not set to offset, it’s scaled, and I need help.

it’s most likely because the size it set to offset and not scale, its kinda annoying to convert manually but using a plugin such as AutoScale, you can most likely fix it, just select all the uiParts like frames buttons and images or whatnot and use the plugin to convert it to scale positioning and size.

plugin - if you have trouble with it just find a youtube video on it, its very simple.

The gui is not set to offset, I used a plugin to convert everything to scaled,


but that phone says otherwise.

are you using any constrictors like ratios such as a "UIAspectRatioConstraint "that set the size of the UI element?

So you see that green part? It’s a container for a bunch of stuff.


Then inside it there is another bunch of frames, like this one.

Then there’s this frame containing the little bits for upgrades.

Then the actual frame of the bit, which is controlled by a UIGridLayout, is this the key to my problem?

Cuz if so, then I really don’t know how other games with this kind of upgrade graphic do what they do with the bits.
(Damn those simulator games have excellent UI, how did they scale everything perfectly)

sorry for the late reply but i fell asleep lol. But it seems the problem might lie in the sizing in the grid layout? what is the padding and cellSize set to? and is it in offset or scale?

i believe @X70PA was hinting toward this, but you should add a UIAspectRatioConstraint to the frame under UpgradesGUI.

i would probably test on a device (anything 16:9) first, and if it looks good i would then add it using a UI plugin of your choice.

this ensures the frame won’t stretch or morph. that way it will look the same on every single device.

Does the scrolling frame has scaling instead of offset?

@X70PA Man… No one told me this hidden abomination existed.


(It was offset, I watched a video and got the hint)
@RainingMemory thanks, i added one to the main frames of my guis now.
@RocketSlither everything(at least anything obvious enough) was converted to scaled with the help of that nice ui converter plugin
image

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.