Scaling inconsistencies as a result of the new Topbar Inset

My GUI originally fit for both PC and mobile devices. The scaling was good.

The new core gui and its readded topbar pushed down the previously screenfilling backframe and scaled down the buttons (the new topbar inset basically squashed them a little) on PC.
On mobile, these got even more warped: both sides of the phone where completely empty of GUI, whereas previously they nicely scaled to either side.

Checking in studio and studio’s emulator, it all seemed fine. Only when you load into an actual server the descaling starts.
When manually changing all ScreenGuis’ IgnoreGuiInset property to true, it fixed these issues and filled the entire screen again (just as it did before the new core gui and its reintroduction of the topbar)
All fixed? No, it essentially created more vertical space, resulting in an increased scale of the buttons and stretched out frames.

Basically:

  • Old situation = right scale + fit screen
    |
  • New situation (with gui inset) = slightly smaller scale + no longer fit screen
  • New situation (inset ignored) = clearly bigger scale + fits screen

Either way, it fails to mimmic the intended size; it’s descaled either way.
The reintroduction of the topbar has caused descaling. How can this be fixed?

ezgif.com-animated-gif-maker (1)

old
image
new
image

To further clarify:

With the previous Core UI the frames would fit and fill the entire screen when the scale was set as {1,0}
this makes sense as after all, it’s the entire scale


Whereas the new topbar pushes this down (note the large gap at the top)


Trying to fix and remove this gap by either increasing the size or enabling IgnoreGuiInset results in a stretched image and warped scale.


ezgif.com-animated-gif-maker (2)

Comparison between filled and current

1 Like

To my knowledge, it wouldn’t do that unless IgnoreGuiInset was enabled. Do you perhaps have a script altering your GUI size to account for this? GetGuiInset is a function many games would use to account for the inset and as seen in this bug report it is currently bugged and returns an incorrect value on game-start, potentially causing this issue?

2 Likes

Hm, that just be correct. This alstered size might’ve been me adding an extra 50 pixels ever since about 2017 for screenfilling GUI.

Thanks for mentioning it. Regardless, the mains scaling issue as a result of this new core gui (and its topbar) doesn’t change. These new changes have affected the overal size of the GUI (not only filling ones)

1 Like

This is just an acknowledgment announcement!

We’ve filed a ticket into our internal database for this issue, and will come back as soon as we have updates!

Thanks for flagging!

Hi,

Any news on the matter?

‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎