summaryrefslogtreecommitdiffstats
path: root/widget/src/text_input.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 00:14:41 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 00:14:41 +0100
commit905f2160e6eb7504f52d9bd62c7bfa42c8ec2902 (patch)
tree9d5915ab355facbca08b6be3d7eac03c7b5d9acc /widget/src/text_input.rs
parent7c4bf70023a8092faad9630c2c87fbf41bd6ab76 (diff)
downloadiced-905f2160e6eb7504f52d9bd62c7bfa42c8ec2902.tar.gz
iced-905f2160e6eb7504f52d9bd62c7bfa42c8ec2902.tar.bz2
iced-905f2160e6eb7504f52d9bd62c7bfa42c8ec2902.zip
Move `Theme` type to `iced_core`
Diffstat (limited to 'widget/src/text_input.rs')
-rw-r--r--widget/src/text_input.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs
index bae84db7..6bad0afe 100644
--- a/widget/src/text_input.rs
+++ b/widget/src/text_input.rs
@@ -28,17 +28,15 @@ use crate::core::widget::tree::{self, Tree};
use crate::core::window;
use crate::core::{
Background, Border, Color, Element, Layout, Length, Padding, Pixels, Point,
- Rectangle, Shell, Size, Vector, Widget,
+ Rectangle, Shell, Size, Theme, Vector, Widget,
};
use crate::runtime::Command;
-use crate::style::Theme;
/// A field that can be filled with text.
///
/// # Example
/// ```no_run
-/// # pub type TextInput<'a, Message> =
-/// # iced_widget::TextInput<'a, Message, iced_widget::style::Theme, iced_widget::renderer::Renderer>;
+/// # pub type TextInput<'a, Message> = iced_widget::TextInput<'a, Message>;
/// #
/// #[derive(Debug, Clone)]
/// enum Message {