Author Topic: Screen resolution positioning  (Read 4726 times)

NinjaTeleporter

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Screen resolution positioning
« on: January 08, 2015, 03:54:15 PM »
I have read many threats and watched tons of videos, but none of them work, mainly because they are outdated. I know it has been had asked many and many times, how to position my UI correct ?

wongkh

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: Screen resolution positioning
« Reply #1 on: January 08, 2015, 11:45:53 PM »
What you mean by position UI correctly??
Using different resolution???
If yes, you can always use anchor for it..
So, it will always be on the same place, same size no matter how big your resolution is..

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Screen resolution positioning
« Reply #2 on: January 10, 2015, 12:08:15 PM »
The video tutorials linked here: http://www.tasharen.com/forum/index.php?topic=6754.0 are still up to date.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Screen resolution positioning
« Reply #3 on: January 10, 2015, 05:54:05 PM »
"Correct" is a matter of opinion. What does correct mean to you in this case, then we can help your achieve that.

Generally, just use anchors to anchor elements to the sides of the screen so it fits different resolutions and use constrained at a size you choose, so the height (or width) is fixed in the virtual pixels - this gives the easiest good result. It's not perfect for everything, but it covers most bases.