append method for scrollgroup

Discuss GUI programming with the RapaGUI plugin here
Post Reply
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

append method for scrollgroup

Post by sashapont »

Is it possible to use append method for dynamically created objects for scrollgroup?
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: append method for scrollgroup

Post by airsoftsoftwair »

Have you tried it?
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Re: append method for scrollgroup

Post by sashapont »

Yes and have error iis no valid parent!
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: append method for scrollgroup

Post by airsoftsoftwair »

Hmm, ok, I need to check this but it might not be possible to support this because scrollgroups are rather quirky anyway.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: append method for scrollgroup

Post 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()
Post Reply