User Interface resolution doesn't fit the game resolution.

Hello so the title is quite self explanatory. Basically whenever a play the game the User Interface is not being properly displayed. It does work properly when I run the game on my Android phone which is the platform I’m creating it for. Any ideas how to fix this? Thanks

Since the resolution may vary , if you want your widget to be “centered”
you can wrap the widget with a canbas panel and set the the anchor point to center.
this will place your stuff “from the center”

in many cases you may want a widget to stick to the right or left part of the screen (anchor left or right)

PS: you can also block the aspectratio of your camera (this will create black bands on the device to leave your camera proportion unchanged)
so that in every device the camera can take the same proportion and so , have a more consistent design