diff options
| author | 2024-02-15 02:57:52 +0100 | |
|---|---|---|
| committer | 2024-02-15 02:57:52 +0100 | |
| commit | 84cc9f130b4e29219d47db42cdb76548b054c66b (patch) | |
| tree | 5758716b7ca1a35e589969efd9537f5e56dd1e27 /examples/editor/src | |
| parent | 5827023ccc3f80012b17dbfe778fbd8b63186c99 (diff) | |
| parent | 777e2e34f50c440f59d9a407f75be80fbbfaccae (diff) | |
| download | iced-84cc9f130b4e29219d47db42cdb76548b054c66b.tar.gz iced-84cc9f130b4e29219d47db42cdb76548b054c66b.tar.bz2 iced-84cc9f130b4e29219d47db42cdb76548b054c66b.zip  | |
Merge pull request #2253 from iced-rs/improve-ergonomics
Improve some widget ergonomics
Diffstat (limited to '')
| -rw-r--r-- | examples/editor/src/main.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs index 75b66264..53c9cf7c 100644 --- a/examples/editor/src/main.rs +++ b/examples/editor/src/main.rs @@ -155,7 +155,7 @@ impl Application for Editor {                  "Save file",                  self.is_dirty.then_some(Message::SaveFile)              ), -            horizontal_space(Length::Fill), +            horizontal_space(),              pick_list(                  highlighter::Theme::ALL,                  Some(self.theme), @@ -179,7 +179,7 @@ impl Application for Editor {              } else {                  String::from("New file")              }), -            horizontal_space(Length::Fill), +            horizontal_space(),              text({                  let (line, column) = self.content.cursor_position();  | 
