Question by
WhiteNightStudio · Oct 18, 2018 at 08:13 PM ·
unity 5buttonunity 2dscrollviewdialogue
Scroll Rect which changes size of the number of buttons
Hello, everyone! I'm making a simpe dialogue system and i want to change the size of scrollview (not the content), but the scroll view according to amount of buttons with answers. How is it possible? content size fitter doesn't help :(
Comment
Answer by WhiteNightStudio · Oct 18, 2018 at 08:22 PM
Try to draw what i want to do. On the left side of image there are 3 buttons, so scroll view is long, but on the right side there is only one button, so scroll view is short.
без-имени-2.png
(11.1 kB)
Your answer
Follow this Question
Related Questions
Combine text and buttons in scroll rect 0 Answers
UI Scroll View - Scrollbar only working on one half 1 Answer
Unity 2D Lighting 0 Answers
Text added on a UI button not showing when running on mobile 0 Answers
How can I update my dialogue text? 0 Answers