diff options
author | 2020-04-18 20:44:14 +0200 | |
---|---|---|
committer | 2020-07-08 11:06:39 +0200 | |
commit | f655d9b9674fe5a705e26b8797231d93a117395b (patch) | |
tree | 5ac67a08c5b986e629f09e7c0e20393065d91b82 /examples | |
parent | e29feef8ba4f95f286039fcc1ca2e53bfe5019c5 (diff) | |
download | iced-f655d9b9674fe5a705e26b8797231d93a117395b.tar.gz iced-f655d9b9674fe5a705e26b8797231d93a117395b.tar.bz2 iced-f655d9b9674fe5a705e26b8797231d93a117395b.zip |
Position `Menu` layer based on available space
Diffstat (limited to 'examples')
-rw-r--r-- | examples/combo_box/src/main.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/combo_box/src/main.rs b/examples/combo_box/src/main.rs index 977dc196..416e9f76 100644 --- a/examples/combo_box/src/main.rs +++ b/examples/combo_box/src/main.rs @@ -60,10 +60,6 @@ impl Sandbox for Example { .push(Text::new("Which is your favorite language?")) .push(combo_box); - if self.selected_language == Language::Javascript { - content = content.push(Text::new("You are wrong!")); - } - content = content .push(button) .push(Space::with_height(Length::Units(800))); |