Configure a scale layout
To configure a scale layout, add a scale layout object and child objects and then change the properties of the scale layout.
- InProject view, right-click the node to contain the scale layout object and select .For example, add the scale layout underMainWindow (type).
- (optional) Hover-over the scale layout, select , and then enter a custom name for the object.
- Add or move child graphic objects under the scale layout.For more information on how to move graphic objects, see Move a node.For example, add buttons under the grid layout to create a grid of buttons. See Button.
- InProject view, double-click the scale layout object, and inProperties, complete:
- Fill Mode. SelectFitto keep the original aspect ratio of child objects when you resize the scale layout object; SelectStretchto disregard the original aspect ratio of child objects when you resize the scale layout object.
- Font scaling. Scale the font size of child objects as you resize the scale layout container.
- Horizontal alignment. Set toStretchto resize the scale layout horizontally when the parent container resizes.
- Vertical alignment. Set toStretchto resize the scale layout object vertically when the parent container resizes.
- Original widthandOriginal height. Determine the starting size of the scale layout object.IMPORTANT: TheOriginal widthandOriginal heightproperties are only visibly if you double-click the scale layout object inProject view.TIP: You can also adjustOriginal widthandOriginal heightby resizing the scale layout container in the editor.
- (optional)Left margin,Top margin,Right margin,Bottom margin. Set margins for the scale layout object.
For an example of scale layout implementation, see Scale layout
scale layout
Provide Feedback