Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 3 years ago
Edited 3 years ago

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?

0
links weren't working for some reason... Cyrus_O4 45 — 3y
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 ragdollkiiing2 19 — 3y
0
bruh... why didnt you answer the question instead of commenting Cyrus_O4 45 — 3y
0
but tysm Cyrus_O4 45 — 3y
0
lol im sorry im kinda new to this place also np ragdollkiiing2 19 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

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 :)

0
Yeah I did exactly what you did! Thanks guys! Cyrus_O4 45 — 3y
Ad

Answer this question