Hello!
I’ve been tinkering with UIGridLayout and have been wondering how to make it so there are two columns in the layout.
Thank you in advance for the help.
Hello!
I’ve been tinkering with UIGridLayout and have been wondering how to make it so there are two columns in the layout.
Thank you in advance for the help.
Set to cell size to 0.5, 0, 0, heightOfCellInPixels
. Make sure there is no padding. This will give you a two column layout.
Your replies have not resolved the posters query and they have made that clear. They have shared an image and would like to know how to replicate it with UIGridLayout.
Telling somebody that their image has two columns, or that a UIGridLayout defaults to two columns is not a solution. Your post is not helpful, and your follow-up implying the issue has been resolved is spam.
The solution is as I said, to set the corresponding properties CellSize
and CellPadding
to 0.5, 0, 0, N
and 0, 0, 0, 0
respectively.