Author Topic: Different resolution is making the GUI dissapear  (Read 2769 times)

kevinseligmann

  • Guest
Different resolution is making the GUI dissapear
« on: May 28, 2012, 03:46:11 PM »
Hi Aren, hi people.

I'm having a strange issue. My GUI works perfectly fine, the application itself does to, until I try it on a notebook.
What's the difference from a desktop pc? Well, the resolution. I noticed that some parts of the gui dissapeared on some notebooks, so I set the Standalone Player resolution to 1280x720, and then on the Game tab used that resolution and the problem appeared.

It's like some of the GUI dissapears when the resolution is around those numbers. Doesn't happen with 4:3 resolution, at least that I'm aware of.
To be as descriptive as possible, below there are 2 images taken from m computers, one a notebook and the other one a desktop Pc.

The first one is on Free Aspect, and the second one on 1280x720.
Do you have any idea what could be causing this?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Different resolution is making the GUI dissapear
« Reply #1 on: May 28, 2012, 03:52:12 PM »
You need to take advantage of UIAnchor. UIRoot with 'automatic' flag checked will keep your UI pixel-perfect, which sometimes means that things may get cut off if they don't fit.

As for the central image disappearing? Make sure its depth is higher (if it uses the same atlas as the background), or that it has a lower transform Z position (if it uses a different atlas or panel).

kevinseligmann

  • Guest
Re: Different resolution is making the GUI dissapear
« Reply #2 on: May 28, 2012, 04:08:46 PM »
Ok, by lowering the Z transform position, I managed to see all the elements that where hiding, so it did the trick.
Thanks very much!