Move all operations to widget::operation module
This commit is contained in:
parent
885d45f435
commit
34a42b5ad4
14 changed files with 124 additions and 136 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use iced::widget::{
|
||||
button, center, center_x, column, container, horizontal_space, scrollable,
|
||||
text, text_input,
|
||||
button, center, center_x, column, container, horizontal_space, operation,
|
||||
scrollable, text, text_input,
|
||||
};
|
||||
use iced::window;
|
||||
use iced::{
|
||||
|
|
@ -85,7 +85,7 @@ impl Example {
|
|||
}
|
||||
Message::WindowOpened(id) => {
|
||||
let window = Window::new(self.windows.len() + 1);
|
||||
let focus_input = text_input::focus(format!("input-{id}"));
|
||||
let focus_input = operation::focus(format!("input-{id}"));
|
||||
|
||||
self.windows.insert(id, window);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue