Stretched Layout in Row
The Goal
Design a Stretched Layout in one row, containing Text and Menu Button components.

The Description
Any components sorting in rows can have their Item Flex properties; if it's required to have components responsively on both sides, the middle one has to be stretched.
The Knowledge You Will Get
- How to set up Stretched Layout. 
The Project Structure
1. Desing a Stretched Layout
Stretched Layout will be separated into two Containers; one would be stretched as a Main; the second would be stretched as a Row.
- Place in a new Container, name it - cntMain, and set up its Item Flex ->- Stretched; Padding ->- X-Wide
- Place in a second Container with the following setup: ID -> - cntRow; Flow ->- Into row; Vertical Alignment ->- Middle
- Into - cntRowplace three following components, keep their IDs, and configure them properly:- Text -> Item Flex -> - None; Value -> "- Some Text Here"; Font Size ->- Medium
- Spacer -> Item Flex -> - Stretched; Foreground ->- TRANSPARENT
- Menu Button -> Item Flex -> - None; Font Size ->- Medium
 
The Conclusion
Stretching Layout components need some practice to understand. If more than two stretched layouts are in a one-parent, they would split their space between them.
Last updated
Was this helpful?
