UI not scaling correctly
Hi all!
I have a problem with the UI, I set the size of two object with SetSizeWithCurrentAnchors, but they don't hace the same size.
If I run it in Editor Mode, It work's perfectly, but when I compile for android or run it in the editor with a remote conected it don't resize well.
Here, objects 1 and 2 are the same width (and running in editor mode thy had it), but whit the remote connected this is what happens.
Any help? Thank you.
Answer by ismaelnascimento01 · May 29, 2017 at 11:27 AM
I did it. The problem is that, in the same canvas, I scale an image to 0.5f Screen.width and it fits nice in half the screen, but another image is scaled to 0.8f Screen.width and it's outside the canvas (Image number 1 in the image attached to the question)
Your answer
Follow this Question
Related Questions
How to change camera view size on mouse drag? 1 Answer
Resizable Text Bubble 1 Answer
How to allow player's to resize UI in game? 1 Answer
UI Resizing out of screen 0 Answers