Hello,
I want to implement a scrollable comment list where it has a show more button. So this is my current structure:
- ScrollView
So all of the comment prefab has, per say, a size of 200 when created. But if the text is longer than the text area and is clipped, when the user clicks the text box, I want the text box to expand and show all text....
Nested Content Size Fitter - How to go about simulating such structure
I want to implement a scrollable comment list where it has a show more button. So this is my current structure:
- ScrollView
- Viewport
- Content (contains ContentSizeFitter)
- Comment prefab 1
- Comment prefab 2
...
- Comment prefab 2
...
So all of the comment prefab has, per say, a size of 200 when created. But if the text is longer than the text area and is clipped, when the user clicks the text box, I want the text box to expand and show all text....
Nested Content Size Fitter - How to go about simulating such structure