Hi, I’m making a small app where pictures appear at the centre of page of a book. I’m using the Canvas Scaler Component for 1920:1080 px as reference and it all looks good at multiple resolutions if I leave the Aspect ratio at 16:9 :
[38261-screenhunter_01+jan.+06+08.34.jpg|38261]
Of course, things do mess up if I pick a different Aspect Ratio such as:
[38262-screenhunter_02+jan.+06+08.36.jpg|38262]
My question is how to set up the aspect ratio fitter and anchors to make that “a” RectTransform to stay in the center of the page, and with the same size ratio It has with its parent (Which is the book image, which stretches all around the canvas). Currently I left the hierarchy and anchors for the child gameObject like this:
It really seems like I haven’t understood the anchor system yet. I did try to experiment using the aspect ratio fitter In both the parent and child gameobject, adding another rectTransform to the hierarchy, messing with the pivots, etc.