chore(text_input): add winit example and do some cleanup
This commit is contained in:
parent
878c2dcd5d
commit
cc74c63d9b
6 changed files with 56 additions and 32 deletions
|
|
@ -504,6 +504,10 @@ impl State {
|
|||
.size(20)
|
||||
.id(INPUT_ID.clone())
|
||||
.into(),
|
||||
cosmic::widget::text_input("test", &self.entry_value)
|
||||
.width(Length::Fill)
|
||||
.on_input(Message::InputChanged)
|
||||
.into(),
|
||||
])
|
||||
.into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue