Remove Fill variant for Alignment

Implementing this generically in our `flex` logic has an exponential
cost. Let's explore other options!
This commit is contained in:
Héctor Ramón Jiménez 2023-02-27 16:49:25 +01:00
parent 5f93437285
commit 9e815cb749
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
6 changed files with 14 additions and 72 deletions

View file

@ -146,7 +146,9 @@ impl Application for WebSocket {
}
}
row![input, button].spacing(10).align_items(Alignment::Fill)
row![input, button]
.spacing(10)
.align_items(Alignment::Center)
};
column![message_log, new_message_input]