Search Unity

Question How do I make UI text move/scale with screen size?

Discussion in 'UGUI & TextMesh Pro' started by KurosanLOVE, Dec 22, 2022.

  1. KurosanLOVE

    KurosanLOVE

    Joined:
    Dec 16, 2022
    Posts:
    2
    Hi, I'm currently playing around with UI and I noticed that some text doesn't really move with the anchor presets. I have top text and bottom text and the latter becomes invisible when I maximize the Game Panel. It does however become visible again when I move the text up, but then it'd end up in the wrong location in a normal Game Panel. And yes I have also played around with other settings (such as Best Fit) with no success.
    (I also don't really need to say this but the following images use "Name" and "Random" because privacy)

    Unmaximized panel
    Screenshot 2022-12-23 at 0.07.23 AM.png

    Maximized panel
    Screenshot 2022-12-23 at 0.07.39 AM.png

    Unmaximized panel with the text in a position that'd be correct only when maximized
    Screenshot 2022-12-23 at 0.14.21 AM.png
     
    Last edited: Dec 22, 2022