remove example
This commit is contained in:
parent
7b539479cf
commit
f71150c91f
1 changed files with 5 additions and 9 deletions
|
|
@ -1,7 +1,6 @@
|
|||
use iced::pure::container;
|
||||
use iced::pure::{Element, Sandbox};
|
||||
use iced::{Length, Settings};
|
||||
use iced_lazy::pure::responsive;
|
||||
|
||||
use numeric_input::numeric_input;
|
||||
|
||||
|
|
@ -39,14 +38,11 @@ impl Sandbox for Component {
|
|||
}
|
||||
|
||||
fn view(&self) -> Element<Message> {
|
||||
responsive(|_| {
|
||||
container(numeric_input(self.value, Message::NumericInputChanged))
|
||||
.padding(20)
|
||||
.height(Length::Fill)
|
||||
.center_y()
|
||||
.into()
|
||||
})
|
||||
.into()
|
||||
container(numeric_input(self.value, Message::NumericInputChanged))
|
||||
.padding(20)
|
||||
.height(Length::Fill)
|
||||
.center_y()
|
||||
.into()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue