Changes

Jump to navigation Jump to search
Line 201: Line 201:     
These are the current layout tags that will allow you to add a component to the UI element it is defined under. Any position and anchor changes will be applied to the parent:
 
These are the current layout tags that will allow you to add a component to the UI element it is defined under. Any position and anchor changes will be applied to the parent:
* horizontallayout
+
* horizontallayout (see https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/script-HorizontalLayoutGroup.html)
* verticallayout
+
* verticallayout (uses padding and spacing, childForceExpandHeight, childForceExpandWidth, childControlHeight, childControlWidth)
* gridlayout
+
* gridlayout (uses padding and spacing, cellSize, constraint)
 
* contentfitter
 
* contentfitter
 
* layoutelement
 
* layoutelement

Navigation menu