Author Topic: How to control depth between panels?  (Read 4215 times)

cometeor

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
How to control depth between panels?
« on: May 12, 2012, 09:58:17 AM »
eg. All widgets in panel 1 draw on top of panel 2.
I use the depth offset of anchor to implement this, but the relationship between anchor's depth offset and widget's depth seems too vague...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to control depth between panels?
« Reply #1 on: May 12, 2012, 04:27:54 PM »
It's in the FAQ. Use Z.

alukanin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: How to control depth between panels?
« Reply #2 on: May 15, 2012, 04:19:14 AM »
What if I have anchors on objects that are on my panel? (and I do) How can I adjust the panel's Z coordinate if the anchors ensure that objects they're on are aligned by Z?
« Last Edit: May 15, 2012, 04:28:36 AM by alukanin »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to control depth between panels?
« Reply #3 on: May 15, 2012, 01:27:12 PM »
By adding a child offset object.