Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: xiaoniaojjj on September 17, 2012, 12:08:07 PM

Title: How to fit the small screen like this ? thanks..
Post by: xiaoniaojjj 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.....
Title: Re: How to fit the small screen like this ? thanks..
Post by: xiaoniaojjj on September 18, 2012, 02:26:23 AM
I'm waiting for you.....
Title: Re: How to fit the small screen like this ? thanks..
Post by: dlewis on September 18, 2012, 03:34:01 AM
You will want to use UIAnchor.
Title: Re: How to fit the small screen like this ? thanks..
Post by: ArenMook 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.