Author Topic: UIPanel.widgetsAreStatic  (Read 2184 times)

hvilela

  • Guest
UIPanel.widgetsAreStatic
« on: October 03, 2012, 05:15:50 PM »
bool UIPanel.widgetsAreStatic = false
"Whether widgets drawn by this panel are static (won't move). This will improve performance."

Should I mark this when the the widgets don't move at all or don't move relatively to the Panel?

I'm asking cause I have several panels with widgets that don't move relatively to the panel but the panel itself moves (indirectly moving his children).

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIPanel.widgetsAreStatic
« Reply #1 on: October 03, 2012, 08:01:51 PM »
Don't move relative to the panel. You can move the panel freely (or drag it using UIDragPanel for that matter -- that's fine too).

hvilela

  • Guest
Re: UIPanel.widgetsAreStatic
« Reply #2 on: October 04, 2012, 07:55:17 AM »
Thanks man.