Author Topic: Scrollview issue on startup  (Read 4776 times)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scrollview issue on startup
« Reply #15 on: February 04, 2014, 07:58:15 AM »
Aaaah... That explains it then -- resized window with a static panel.

The scroll view's panel is marked as "static", with the warning right under it that states that this is an optimization, and should never be used if the dimensions of the widgets are going to change, as doing so will not update the draw call because the values won't be checked.

Remove the static flag and it will work as expected.

pad406

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 62
    • View Profile
Re: Scrollview issue on startup
« Reply #16 on: February 04, 2014, 08:02:57 AM »
 :D That was it. You might want to adjust your example scene so as not the confuse any other poor newbies like me !!!

Thanks for that, till the next time, probably be soon, I'm starting checkboxes that I want to center align to variable height labels next!!!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scrollview issue on startup
« Reply #17 on: February 04, 2014, 08:45:07 AM »
Actually... the correct fix is on my end -- UIRoot should be executed first. I'll modify the script execution order for the next update. Thanks for bringing it to my attention :)