Author Topic: Anchor Component Center To 1/4 and 3/4 Screen Resolution?  (Read 2749 times)

Gaudon

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Anchor Component Center To 1/4 and 3/4 Screen Resolution?
« 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Anchor Component Center To 1/4 and 3/4 Screen Resolution?
« Reply #1 on: March 18, 2014, 09:58:51 PM »
Choose "Custom" instead of Left/Right/Top/Bottom. Check the documentation for UIRoot.

Gaudon

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Anchor Component Center To 1/4 and 3/4 Screen Resolution?
« Reply #2 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.