Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Help with scaling between devices

Discussion in 'UGUI & TextMesh Pro' started by gavinb80, Apr 22, 2023.

  1. gavinb80

    gavinb80

    Joined:
    Nov 4, 2012
    Posts:
    96
    Hi all,

    I am working on some UI, and need to have it scale correctly between different devices. I thought it would be a simple case of changing anchors and sizing, but no matter what I try, I can't get the effect I wanted.

    Essentially, I have a panel that appears when I click on a button, this canvas just has a scroll view so I can show a list of games available, but as the device resolution / aspect ration changes, the scroll view moves.

    This is the initial layout I am trying to get:

    Screenshot 2023-04-22 at 18.00.51.png

    But when I move from Apple iPhone X to say, Apple iPad mini 4, I get this:

    Screenshot 2023-04-22 at 18.01.05.png

    Is there any way I can achieve this with the built in tools within Unity?

    Thanks