- Home /
Button does not fit inside content of scrolling list with vertical layout group,Button is enlarged when put in vertical layout group
I was following this tutorial for creating a scrollable list of buttons that is filled at runtime. However, whenever the game is run the buttons are expanded past that of the content box (Image below shows the button's bounds as it appears in game (circled in blue) ). Any idea why this would be happening when I use scripting to fill the content box?
scrolllistissue.jpg
(28.2 kB)
scrolllistissue.jpg
(28.2 kB)
Comment
Your answer
Follow this Question
Related Questions
Unity 5: UI button OnPointerDown not function as expected 1 Answer
Unity - keep created buttons after quit 1 Answer
Disable and enable canvas group by pressing an UI button. (C#) 2 Answers
I can't click to an UI button. 3 Answers
Scripting button functionality inside class with created object's method 1 Answer