Making UI with the AutomaticSize Property set to both axes helps a lot when adding/removing UI elements rather than resizing the UI manually during runtime. The issue I have is that it maintains it’s EXACT size in all screen sizes, literally.
I posted about this before but I didn’t seem to get any response, the 10-ish people who saw it decided to ignore my distress call, so I’ll keep posting about this until I eventually get some help. This is what the forums are for.
Hello, I think you are getting ignored because no one seems to understand what’s your issue here. Can you please be more exact with what you are looking to achieve?
use a UIScale to dynamically resize the content based on the bounds of the parent GUI, this does change the resolution of text, but thats more a Roblox issue (text has always been hell to render on mobile devices with every solution)
This does require scripting so if you need help programming that, let me know
Hi, sorry for the late reply,
I’m not sure what there is else to say, the video shows it all, the UI stays its exact size no matter what your screen resolution is, whereas it would usually scale down a bit depending on how small the screen is, so it would stay that size but adapt to the resolution of your screen, now because I’m using the AutomaticSize property on both axes, I think that’s what’s causing this, but I need it as I mentioned.
So what I’m asking for is, is there a way to fix this? I’ve trued the UIAspectRatioConstraint, but it does nothing.
I also tried that, but the issue with that is, if I set the UIScale to the correct scale on mobile screens, it would be small on computer screens, and making a system handling that and detecting the player’s screen size, is COMPLETELY unnecessary, as this is already automatically done by Roblox when NOT using AutomaticSize, but the AutomaticSize as I said helps add/remove UI elements, it adapts to the change without coding!
Oh and don’t mind the right one having weird scaling problems, like I said I’m not the best at making UI. If only there where a framework that you can just make your own UI with a simple “.new()”.
Ah right, thought so, pity. Is there a way to make it resize automatically when adding/removing UI elements during runtime without having to resize every single element to adapt the change? That could get quite cumbersome.
It’s hard to understand your issue right now, the wording feels off, if you want to size your entire UI for all screens at once you can use an AutoScale plugin
No no, that’s not what I mean, I am using scale already, and I don’t need a plugin, I’m just asking is there a way to make the UI adapt to some of its elements being removed, or new ones being added?
Like for instance the prompt I’m making has an optional Icon ImageLable above “This will Display the Message” and Footer text below the button. Without using AutomaticSize everything would become squished and it would ruin the whole UI.
Here you can see the optional elements that can be visible or not, and it adapts pretty well, just the size seems to not adapt to smaller screen sizes.