Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Gaudon on March 18, 2014, 09:22:50 PM

Title: Anchor Component Center To 1/4 and 3/4 Screen Resolution?
Post by: Gaudon on March 18, 2014, 09:22:50 PM
Is it possible to set a components center anchor point to the resolution width/4?

I can anchor to Left, Center and Right just fine, but I want to position some elements perfectly centered at the 1/4 and 3/4 marks.

Thanks
Title: Re: Anchor Component Center To 1/4 and 3/4 Screen Resolution?
Post by: ArenMook on March 18, 2014, 09:58:51 PM
Choose "Custom" instead of Left/Right/Top/Bottom. Check the documentation for UIRoot.
Title: Re: Anchor Component Center To 1/4 and 3/4 Screen Resolution?
Post by: Gaudon on March 18, 2014, 10:04:35 PM
Found it, thanks.

Seems to be working, just rather finicky with regards to re sizing everything automatically on me. I'm sure I'll figure it out.