Layout Group
Pro features are only available with a Professional licence. To upgrade, visit cavalry.scenegroup.co.
Intro
A Layout Group can be used to arrange Shapes in either a horizontal or vertical direction.
Introduction to Layouts→- Create 3 Shapes.
- With all 3 Shapes selected, right click in the Viewport and choose Layout > Embed selected in Horizontal Layout.
UI
Direction - Select the direction for the Layout:
- Horizontal - Stack Shapes side by side.
- Vertical - Stack Shapes above/below each other.
Draw Extents - When checked, a representation of the Minimum and Maximum Size will be drawn in the Viewport.
Minimum Size - Determine the minimum width and height the Layout occupies when within another Layout.
Maximum Size - Determine the maximum width and height Shapes can fill within the layout. Once the total width/height of the Shapes within the Layout Group exceed these values, the Shapes will start to overlap. By default, the Maximum Size is connected to the Composition's Resolution – remove the connection to set a custom value.
If the Maximum Size is set to a value less than the Minimum Size, the Maximum Size will be internally clamped to the Minimum Size's value (and vice versa). This is not reflected in the Attribute Editor but can be seen in the Viewport with Draw Extents checked.
Margins - Set the space around the edges (top, bottom, left and right) of the Layout.
Spacing - Set a space to appear between each layout item.
Ordering Policy - Determine the order the Shapes within the Layout Group are laid out:
- Layer Order - Order the Shapes from left to right/top to bottom based on their order within the Group. The Shape at the top of the hierarchy is considered the first layout item.
- Alphabetical - Order the Shapes alphabetically based on their Layer Name.
- Shuffle - Randomly order the Shapes.
Flip Order - Reverse the Ordering Policy.
Shuffle Seed - Set the random seed when the Ordering Policy is set to Shuffle.