Page 1 of 1

append method for scrollgroup

Posted: Sun Oct 10, 2021 7:14 pm
by sashapont
Is it possible to use append method for dynamically created objects for scrollgroup?

Re: append method for scrollgroup

Posted: Sun Oct 10, 2021 7:25 pm
by airsoftsoftwair
Have you tried it?

Re: append method for scrollgroup

Posted: Mon Oct 11, 2021 8:35 pm
by sashapont
Yes and have error iis no valid parent!

Re: append method for scrollgroup

Posted: Sat Oct 16, 2021 11:59 pm
by airsoftsoftwair
Hmm, ok, I need to check this but it might not be possible to support this because scrollgroups are rather quirky anyway.

Re: append method for scrollgroup

Posted: Fri Oct 22, 2021 9:33 pm
by airsoftsoftwair

Code: Select all

- Fix: Dynamically adding and removing widgets from scrollgroups didn't work; note that when adding new
  widgets to a scrollgroup, you need to pass the scrollgroup as the parent to moai.CreateObject()