How to adjust image to every screen resolution


#1

Hi, to adjust button (for ex. Potrait mode) in up or down side we can use screen left or screen right, but how to fix the at the center to every screen resolution, thank you.


#2

Hi @vinod,

There’s a neat little trick that allows you to position content in the centre of the screen no matter what device.

If you select the content and go to it’s properties, you can add multiple Relative To properties. You can add both Z.screenRight and Z.screenLeft which may sound strange, but if you set the Relative To Prop property to [0.5,0.5] then it will automatically position at the midway point between the 2 or the centre of the devices screen.

image

Hope this helps.

George


#3

Thanks @George, I’ll check it out.