Search Unity

UI Canvas Scaling when changing displays

Discussion in 'UGUI & TextMesh Pro' started by giantrobotbee, Aug 24, 2014.

  1. giantrobotbee

    giantrobotbee

    Joined:
    Aug 24, 2014
    Posts:
    2
    I'm working on a game with a UI in screen space overlay with a fixed resolution of 1024 x 768. I'm typically working on an external display capable of running at 1900 x 1200 and everything looks the way I've set it up, but when I switch over to my laptop's display (MacBook Pro 15" w/ Retina), the main UI canvas scales down and screws up my UI. Is this on purpose? If I build the game while on my external display and then run it on my laptop, everything is as it should be. I'd like to stop the main UI canvas from scaling when moving to a different display. Is there something I can do about this?
     
  2. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,657
    Do you have a ReferenceResolution component on the Canvas?
     
    runevision likes this.
  3. giantrobotbee

    giantrobotbee

    Joined:
    Aug 24, 2014
    Posts:
    2
    I do now! :D

    Thank you.
     
    pea and superpig like this.