Position Menu layer based on available space
This commit is contained in:
parent
e29feef8ba
commit
f655d9b967
3 changed files with 27 additions and 11 deletions
|
|
@ -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)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue