Skip to content
Discussion options

You must be logged in to vote

Ok, I found how can I solve the problem.
If you want to make a container/game object inside of scrollable panel, you should give the container/game object to the child where it should be, which is defined before generating the config.

What I tried was

  1. Defined a container when generating a sizer.
  2. Returned the container with the sizer when generating the panel.
  3. Then tried to generate a scrollable panel with generated panel.

Step 1 and step 2 were worked, but step 3 was not.

The solution was

  1. Define a container before generate a config.
  2. Give the defined container to sizer which includes the child sizer - until the container reaches the sizer which should be in.

That's it!
The container in…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adover134
Comment options

Answer selected by adover134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant