How should i fix the sizing of my Inventory ui boxes

So this is how it looks in 1366x768

image

But if go to any other display size like 1920x1080 it looks like this:

image

Or on some devices like phones it totally dissappears.

I need some help asap

1 Like

Hi!
If your UI doesn’t fit in phones, larger or wider screens, this plugin can be very usefull!

Just select your frame and use this plugin!

1 Like

Please search before making topics.

if i use it it just does this image

An easy solution is but setting the position’s offset to 0, then change the scale to however you want, because the offset means 100 percentage. Scaling means the percentage that is before it reaches the offset fully. This might never confusing at first, but you can try to search on Wikipedia.

What do you mean by that? I’m confused.

I’m assuming you are using a UIGridLayout for this:
Screen Shot 2020-10-13 at 19.29.07
I’m not an expert at scaling UI but make sure that everything is sized on the Scale not Offset. Go into your UIGridLayout and make sure that the CellSize and CellPadding are both scaled not using offset.

1 Like

There are two sizing options for GUIs. One is scale, one is offset. Do not use offset. Scale is the one you want to use because it will keep the GUI’s shape and proportions correct regardless of screen size. Offset is the reason your boxes aren’t symmetrical and some of your text is clipping (unless it’s supposed to be this way).
https://gyazo.com/edea27a8670f0be3575c648d5cf5a7c3

The scale for the object in the screen GUI will be relative to the size of the user’s screen. For example, if you have a frame object, that is INSIDE of the screen GUI, and the size is set to X: 0.5, 0; Y: 0.5,0 then that frame will take up half of your screen. It will be half the length, which is the X, and it will be half of the height, which is the Y.

For any child GUI object, the scale size will be relative to the parent. So a text button inside of a frame with size X: 0.5, 0; Y: 0.5,0 will be half the size of of the frame.

Here’s what I just talked about in action: https://gyazo.com/7a67bfbb9ed403e86a681aecccab138d

You can still use offset sometimes, and it does work quite well.