Hi!, I’m having some issue with my GUI… All my elements are set in percentile and it work fine on my desktop and mobile. However, the resolution on mobile is very blurry. However, when I check for the mobile on the Google Chrome emulator, everything works fine.
Try setting adaptToDeviceRatio to true in the engine options and then when creating the GUI pass true to CreateFullscreenUI for the adaptiveScaling parameter. For example here’s a simple playground from the GUI doc that’s blurry on my iPhone but crisp with these changes below.
I think this is the right answer if you want the GUI to look the same size on different DPR device in same viewport width.
The doc didn’t seem to say anything about the adaptiveScaling parameter. Thank you sooooo much!
Hi and welcome to the Community,
Thank you so much for sharing your experience on this in this first post.
And you are right when saying:
I remember in a previous post of mine, saying it would be nice if we could have a small chapter in the doc around this topic as there are just so many posts, questions and confusion around this. I would have done it myself but I’m not an english native and then, not an expert for cross-devices dev. And the last thing we need would be to add even more confusion to it. @RaananW@PirateJC@carolhmj If Yours feel like it someday?