diff options
Diffstat (limited to 'style/src/text_input.rs')
-rw-r--r-- | style/src/text_input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/text_input.rs b/style/src/text_input.rs index 2616ad5a..90251b5c 100644 --- a/style/src/text_input.rs +++ b/style/src/text_input.rs @@ -1,5 +1,5 @@ //! Change the appearance of a text input. -use iced_core::{Background, Color}; +use iced_core::{Background, BorderRadius, Color}; /// The appearance of a text input. #[derive(Debug, Clone, Copy)] @@ -7,7 +7,7 @@ pub struct Appearance { /// The [`Background`] of the text input. pub background: Background, /// The border radius of the text input. - pub border_radius: f32, + pub border_radius: BorderRadius, /// The border width of the text input. pub border_width: f32, /// The border [`Color`] of the text input. |