Author Topic: How to fit the small screen like this ? thanks..  (Read 2489 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
How to fit the small screen like this ? thanks..
« on: September 17, 2012, 12:08:07 PM »
When i created a button on left&top in a HD screen like 1440*960, i want to the button always draw on the left&top when i resize to small the screen, but i don't want scale the button by any way, i want to adjust the position button , but i don't know how to get the button is out of the screen. and how to set the position of button to get it.
==========================
I'm waiting for you.....
« Last Edit: September 18, 2012, 02:24:59 AM by xiaoniaojjj »

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: How to fit the small screen like this ? thanks..
« Reply #1 on: September 18, 2012, 02:26:23 AM »
I'm waiting for you.....

dlewis

  • Guest
Re: How to fit the small screen like this ? thanks..
« Reply #2 on: September 18, 2012, 03:34:01 AM »
You will want to use UIAnchor.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to fit the small screen like this ? thanks..
« Reply #3 on: September 18, 2012, 05:36:28 AM »
There is an example -- the very first one -- that shows how to do this. There are 8 buttons -- 4 in corners and 4 on each side of the screen.