summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 01:11:35 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 01:11:35 +0200
commitce53d3933c860cd958636cce415ac97c04aee746 (patch)
treef52e2719af65c21ed0d1acc6764ac44e1bba9d65 /src
parent835877fc636d71c1faaa4826cbfde8e09b3c82ba (diff)
downloadiced-ce53d3933c860cd958636cce415ac97c04aee746.tar.gz
iced-ce53d3933c860cd958636cce415ac97c04aee746.tar.bz2
iced-ce53d3933c860cd958636cce415ac97c04aee746.zip
Implement theme styling for `TextInput`
Diffstat (limited to 'src')
-rw-r--r--src/pure/widget.rs2
-rw-r--r--src/widget.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pure/widget.rs b/src/pure/widget.rs
index de460bec..6ef9262f 100644
--- a/src/pure/widget.rs
+++ b/src/pure/widget.rs
@@ -120,7 +120,7 @@ pub mod text_input {
//! Display fields that can be filled with text.
use crate::Renderer;
- pub use iced_pure::widget::text_input::{Style, StyleSheet};
+ pub use iced_pure::widget::text_input::{Appearance, StyleSheet};
/// A field that can be filled with text.
pub type TextInput<'a, Message, Theme> =
diff --git a/src/widget.rs b/src/widget.rs
index 4cbf02ef..8275f6e4 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -140,7 +140,7 @@ pub mod text_input {
//! A [`TextInput`] has some local [`State`].
use crate::Renderer;
- pub use iced_native::widget::text_input::{State, Style, StyleSheet};
+ pub use iced_native::widget::text_input::{Appearance, State, StyleSheet};
/// A field that can be filled with text.
pub type TextInput<'a, Message, Theme> =