diff options
| author | 2025-01-24 18:04:14 +0100 | |
|---|---|---|
| committer | 2025-01-24 18:04:14 +0100 | |
| commit | 654c4b37148bda655f0c6676845d2b4ead801f40 (patch) | |
| tree | 495d96fc62b23af7ce2622e87892ca823f1c61fc /examples/todos/src | |
| parent | 75a6f32a5ef49bb8e6d16506d84b07822a33c41b (diff) | |
| parent | f8337b8da7ff6bcf876b54d1c7dac460d2e03747 (diff) | |
| download | iced-654c4b37148bda655f0c6676845d2b4ead801f40.tar.gz iced-654c4b37148bda655f0c6676845d2b4ead801f40.tar.bz2 iced-654c4b37148bda655f0c6676845d2b4ead801f40.zip | |
Merge pull request #2746 from iced-rs/alignment-helpers
Add helper functions for alignment to `widget` module
Diffstat (limited to '')
| -rw-r--r-- | examples/todos/src/main.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index e86e23b5..7759552c 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -1,6 +1,6 @@  use iced::keyboard;  use iced::widget::{ -    self, button, center, checkbox, column, container, keyed_column, row, +    self, button, center, center_x, checkbox, column, keyed_column, row,      scrollable, text, text_input, Text,  };  use iced::window; @@ -237,7 +237,7 @@ impl Todos {                      .spacing(20)                      .max_width(800); -                scrollable(container(content).center_x(Fill).padding(40)).into() +                scrollable(center_x(content).padding(40)).into()              }          }      } | 
