diff options
author | 2021-10-31 15:35:12 +0700 | |
---|---|---|
committer | 2021-10-31 16:14:34 +0700 | |
commit | 0aafcde0ef1533c9eeba0379de8c0082e30c7504 (patch) | |
tree | ec1a6e47a5f97f9893da58ed276c71f8c93f305c /glow/src/widget/text_input.rs | |
parent | e5e477aa692e33eb639e4d3acbc073fdb47f9c9a (diff) | |
download | iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.gz iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.bz2 iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.zip |
Remove `widget` module re-exports in `iced_native`
Diffstat (limited to 'glow/src/widget/text_input.rs')
-rw-r--r-- | glow/src/widget/text_input.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/glow/src/widget/text_input.rs b/glow/src/widget/text_input.rs index db18b1cc..5560e3e0 100644 --- a/glow/src/widget/text_input.rs +++ b/glow/src/widget/text_input.rs @@ -4,9 +4,10 @@ use crate::Renderer; pub use iced_graphics::text_input::{Style, StyleSheet}; -pub use iced_native::text_input::State; +pub use iced_native::widget::text_input::State; /// A field that can be filled with text. /// /// This is an alias of an `iced_native` text input with an `iced_wgpu::Renderer`. -pub type TextInput<'a, Message> = iced_native::TextInput<'a, Message, Renderer>; +pub type TextInput<'a, Message> = + iced_native::widget::TextInput<'a, Message, Renderer>; |