Trait iced_web::widget::text_input::StyleSheet[][src]

pub trait StyleSheet {
    pub fn active(&self) -> Style;
pub fn focused(&self) -> Style;
pub fn placeholder_color(&self) -> Color;
pub fn value_color(&self) -> Color;
pub fn selection_color(&self) -> Color; pub fn hovered(&self) -> Style { ... } }

A set of rules that dictate the style of a text input.

Required methods

pub fn active(&self) -> Style[src]

Produces the style of an active text input.

pub fn focused(&self) -> Style[src]

Produces the style of a focused text input.

pub fn placeholder_color(&self) -> Color[src]

pub fn value_color(&self) -> Color[src]

pub fn selection_color(&self) -> Color[src]

Loading content...

Provided methods

pub fn hovered(&self) -> Style[src]

Produces the style of an hovered text input.

Loading content...

Implementors

Loading content...