Fix websocket example

This commit is contained in:
Héctor Ramón Jiménez 2024-01-11 06:12:37 +01:00
parent 03c901d49b
commit 11474bdc3e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -125,7 +125,7 @@ impl Application for WebSocket {
let mut button = button( let mut button = button(
text("Send") text("Send")
.height(Length::Fill) .height(40)
.vertical_alignment(alignment::Vertical::Center), .vertical_alignment(alignment::Vertical::Center),
) )
.padding([0, 20]); .padding([0, 20]);