Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: NJ_kung on August 01, 2012, 04:36:45 AM

Title: How Can I use Dynamic size button
Post by: NJ_kung on August 01, 2012, 04:36:45 AM
Ex When I create button size 150*50 for 1600*900 resolution

if Player use 800*450 resolution button will resize to 75*25 too

 :)

Title: Re: How Can I use Dynamic size button
Post by: Shelt on August 01, 2012, 04:43:22 AM
Its because you have checked/unchecked the "Automatic" checkbox in the UI Root settings.

Depending on that checkbox your GUI objects will either remain the size you specified or be resized to cover the same screen area no matter what resolution you use.
Title: Re: How Can I use Dynamic size button
Post by: NJ_kung on August 01, 2012, 06:39:49 AM
Thx you ;D