Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why isn't my frame in the gui scaled all the way up?

I wanted to make a math game in Roblox to practice for myself. I created a ScreenGui and a ImageLabel in the gui as a frame. I used the AutoScale Lite Plugin to scale the size of the frame for it to fit on all devices. Here's a screenshot of what it looked like: (http://gyazo.com/88f0bb6945c7ce4c09bd70fd697498af)

But then I noticed something... When I playtested the game, you could still see a tiny part of the baseplate even when the frame is covering the whole screen in the studio. I tried fixing this problem by adding a script that makes the topbar transparent. It didn't work. Screenshot of the problem: (http://gyazo.com/c6bb239c46a4d680fa6d64d58cc0d84c)

Code:


local startergui = game.StarterGui

startergui:SetCore("TopbarEnabled", false)

So is there another way to solve this?

5 comments

0

links weren't working for some reason...

0

so i think i can help you its actually really simple, you can do it without a script. just go to the screengui which has the frame inside of it then look for the property thats called ignoreguilinset and make the size of the frame {1, 0},{1, 40} then it should be full screen

0

bruh... why didnt you answer the question instead of commenting

0

but tysm

0

lol im sorry im kinda new to this place also np

1 answer

✓ Accepted answer

So it's actually really easy to fix without a script or anything, as @ragdollkiiing2 said in the comments, however I think I have an easier way than theirs';

Make sure the frame's Size is set to '[1, 0] [1,0]', then go to the Parent, what should be a 'ScreenGUI', and enable the Property called 'IgnoreGuiInset' and that should fix the problem, hope I could help :)

1 comment

0

Yeah I did exactly what you did! Thanks guys!

This discussion is preserved as it was. New answers, comments, and votes are closed.