Dynamic textbox within panel contraint
In the image above I am using a horizontal layout group on the word container with a 15px spacing and a content size fitter on each textbox. The problem I am having is that once the text boxes reach the edge of the game area (grey panel) they are not overflowing vertically to fit within the constraints. I have tried using the grid layout group to control this, however, I am forced to input specific cell sizing which gives an undesired look as I want each textbox to dynamic fit the content within them in order to achieve the desired spacing when I later use the instantiate method to create them.
Any help would be greatly appreciated.
help-unity.jpg
(80.1 kB)
Comment