Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Jenzo on March 19, 2013, 08:51:33 AM

Title: Scaling Style - Manual "Width"
Post by: Jenzo on March 19, 2013, 08:51:33 AM
Hi!

I bet this is answered before but I cant find it. :-( I have attached a picture showing what effect I am looking for. I dont know how to set this up? Maybe it is not possible. Maybe they have done two seperate GUI systems för cater for the different aspect ratios?

I would really appreciate an answer. Thanks!

Best regards
Jenz
Title: Re: Scaling Style - Manual "Width"
Post by: Nicki on March 19, 2013, 11:48:13 AM
Easy.

Make three panels:
Top, Center, Bottom.

Attach a UIAnchor on each, set them to have their pivot to Top, Center, Bottom respectively.

Create each part of your UI within those panels.

Set your UIRoot to PixelPerfect.

Enjoy.
Title: Re: Scaling Style - Manual "Width"
Post by: PoN on March 19, 2013, 09:05:00 PM

Set your UIRoot to PixelPerfect.

Hi , Nicki ,
Could you tell me , how can i set UIRoot to PixelPerfect, if in NGUI 2.3.6a doesn't have this feature ?
Title: Re: Scaling Style - Manual "Width"
Post by: ArenMook on March 19, 2013, 09:52:51 PM
It's a drop-down on the UIRoot.
Title: Re: Scaling Style - Manual "Width"
Post by: Jenzo on March 21, 2013, 06:35:56 PM
Thanks for the answer! Im going to try it in the weekend!
cheers