Author Topic: HELP: Propagate dimension changes to children  (Read 1841 times)

Wahooney

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
    • View Profile
HELP: Propagate dimension changes to children
« on: February 18, 2014, 02:40:37 PM »
Hi,

I need to resize my widget when it's parent gets resized, is there some sort of callback to handle that?

ryan

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 90
    • View Profile
Re: HELP: Propagate dimension changes to children
« Reply #1 on: February 18, 2014, 04:43:17 PM »
If the parent is also a widget, there's an onChange callback that you can register.

Wahooney

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
    • View Profile
Re: HELP: Propagate dimension changes to children
« Reply #2 on: February 18, 2014, 06:11:14 PM »
Thanks! I'll try that out :D