Hello,
I am trying to create a menu, but I got some trouble with my Scroll view. The right panel is composed of a panel with a vertical layout group, inside a Text, the scroll view and a button (inside a panel with a horizontal layout), like this:
* Vertical Layout Panel
├── Text // List of robots
├── Scroll View
└── Horizontal Layout Panel
└──Button // Connection to robot
I have two problems, concerning height and width.
First regarding the width, even if for the Vertical Layout I check Control Child Size for the width, the Scroll View got oversize (see the picture below), contrary to the text and button. Why?
The second problem is regarding the heigh. If I select Control Child Size for the height, the three components are equally expanded, but I want the title and the button to have a specific size (a max height), and the Scroll View to take all the left-over space. If I uncheck Control Child Size, I need to specify a hardcoded height value, but I want something dynamic. How to do that?
Thanks in advance.
