Do you know how to apply UI to all resolution?

I have created UI. It’s 1920x1080 resolution, but if you change it to a different resolution, the UI gets mixed up a lot. Is there anyone who knows how to solve this problem?

Edit CSS in your UI to support resulution changes

instead of using pixels for adjustment and such you should use other values like 100% and such for the base containers. You can then align the content inside of the contianer the way you want but i never had any issues using % isntead of px

2 Likes

In addition to that, i would use vh or vw for font sizes, that has fixed weird size problems for me in the past.
Btw 1 vh is equal to 1% of the viewport (aka the game windows) height, and 1 vw is equal to 1% of the viewports width.