Create layout example

This commit is contained in:
Héctor Ramón Jiménez 2023-03-27 15:43:52 +02:00 committed by Héctor Ramón Jiménez
parent fd8f980b88
commit 0322e820eb
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 135 additions and 2 deletions

View file

@ -35,7 +35,7 @@ impl<'a, Message, Renderer> Column<'a, Message, Renderer> {
Column {
spacing: 0.0,
padding: Padding::ZERO,
width: Length::Fill,
width: Length::Shrink,
height: Length::Shrink,
max_width: f32::INFINITY,
align_items: Alignment::Start,

View file

@ -34,7 +34,7 @@ impl<'a, Message, Renderer> Row<'a, Message, Renderer> {
Row {
spacing: 0.0,
padding: Padding::ZERO,
width: Length::Fill,
width: Length::Shrink,
height: Length::Shrink,
align_items: Alignment::Start,
children,