Hiding the 'Expand/Collapse' button

TL;DR The ‘Expand/Collapse’ button is useless in my situation and should be hidden if there are no avaliable options in the list (other than report, which can be accessed through the main menu anyway)

I’m making a game and have run into an issue with roblox’s fairly intrusive Core UI. The button I am speaking about specifically is the ‘Expand/Collapse’ button. I have TopbarEnabled and ResetButtonCallback set to false, and my game is singleplayer, meaning the only purpose of the button is to… report the game. Again, it is very intrusive and gets in the way of other UIs. Ideally, the main ‘Roblox Logo’ button should be able to be scaled down a bit as well, but I’m just nitpicking here. See attached screenshots for details.



image

If anyone knows how I could fix this, please tell me!

As far as I know, you can’t hide Roblox’s default GUI, but you can turn off IgnoreGuiInset on that specific UI.

Correction: You can hide CoreGui with StarterGui:SetCoreGuiEnabled() but in this case it’s probably better to enable the ScreenGui’s IgnoreGuiInset as @MRBEGI pointed out.

The UI is far too small when I do that. It also breaks the animations played when switching between menus. I would post a feature request for being able to turn it off but I sent a request for access to that a week ago and I’ve not had a reply yet.

What do you mean? It shouldn’t make your UI smaller unless the UI has an AspectRatioConstraint.

  • Which can be easily fixed by readjusting the ratio

The only AspectRatioConstraint used is in the settings menu’s close button. I should also note that I tend to avoid using the ‘offset’ element in UDim2 values which may cause the scaling issues. I ideally need to keep it this way, however, to keep the menu at a suitable size for all devices.

With IgnoreGuiInset:


Without IgnoreGuiInset:


Hm. The only way to do this is probably by rescaling the UI all together.
(You seem to not be able to disable the new roblox core gui so yeah)

Hmmm… I don’t really want to go about rescaling the UI, so I think I will just keep it with IgnoreGuiInset turned on for now, and if anyone ever replies to my feature requests role application, I’ll post it there. Thanks anyway!

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