Dealing with this weird "space"?

I just started working on a ui for a game which i want to have phone support. When I went into view testing (if that’s what its called) the devices with a flat bezel looked fine but when I got to the IPhone XR, it looked weird. Is there any way i could make it look better? or is that just something that I cant change.

That’s just the notch present in every iPhone since X. Not something you can change. Otherwise, add a custom device with the same specifications.

By the way, ask this in #help-and-feedback:platform-usage-support or something, not here.

2 Likes

nah i meant dealing with it in the ui, like making the space visible to the left of the ui object less jarring. i will also move this to #help-and-feedback:platform-usage-support

It’s because you’re using Offset to size and position the UI, which will make them look weird on other devices.

To fix it, you must size and position the UI using Scale instead of Offset.

Use this plugin to implement this more efficiently. Simply select the UI you want to Scale, open the plugin and set the Position and Size to Scale.

Always use Scale when working with UI. I don’t think there are cases in which you’ll need to use Offset.

1 Like

It’s the iPhone notch, Apple, in their infinite wisdom, decided to make a big dent into the phone, making the zone basically not interactive.
It’s really annoying but it’s what we’ve got.

1 Like

Perhaps you’ll want to check on ScreenGui.ClipToDeviceSafeArea(?)

1 Like

thanks for the help. I think i will just add a frame behind it to make it like look a bit better on these devices

1 Like

As far as I’m aware it’s a dead space for both size and offset, also the plugin is useful sometimes but it’s not precisely good practices.

1 Like

i cant even do that :skull: thats kinda stupid imo (im not sure why it didnt reply to Dealing with this weird "space"? - #7 by UwuTechYT)

You could try setting the ScreenInsets property of your gui to None

1 Like

this worked! thank you so much

1 Like

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