Translations:UIX/30/en
Jump to navigation
Jump to search
- Add a child to your canvas (or layout or whatever) and call it Layout.
- In that object, Attach Component > UIX > Graphics > Image. Set the Tint to something that will differentiate this object from child objects.
- Also in that object, Attach Component > UIX > Layout > VerticalLayout.
- Change all the Padding and the Spacing properties on the VerticalLayout to 4.
- Add a child of Layout, and call it Element.
- In that object, Attach Component > UIX > Graphics > Image. Set the Tint to something that will differentiate this object from the layout object.
- Duplicate this object a few times. They will all be children of Layout.
- You may need to heed the warning above, and duplicate the canvas to get the layout to recalculate.
- You can add LayoutElement to each Element. This tells the parent layout how to calculate widths and heights.