Author Topic: draggable panel start position  (Read 3358 times)

duncanx

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
draggable panel start position
« on: November 18, 2013, 06:01:22 AM »
Draggable window starting position

I'm using a draggable panel and the centeronchild together. I have figured out how to pass some index to centeronchild to have it spring to that position..but, I need the panel to start in a default position without springing to it.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: draggable panel start position
« Reply #1 on: November 18, 2013, 11:06:58 AM »
CenterOnChild simply calls SpringPanel.Begin under the hood. You can make it instant by setting UICenterOnChild.springStrength to 1000.

duncanx

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
Re: draggable panel start position
« Reply #2 on: November 18, 2013, 09:09:21 PM »
That works. Thanks.