You can use default sizing, explicit sizing, and percentage-based sizing techniques to control the size of components. For information on using constraint-based layout for component sizing, see Using constraints to control component layout.
Using default sizing
Specifying an explicit size
Using percentage-based sizing
Sizing percentage-based children of a linear container with automatic positioning
Example: Using percentage-based children
Sizing percentage-based children of a container with absolute positioning
Example: Using percentage-based children with absolute positioning
Using minimum or maximum dimensions