[][src]Trait iced_style::text_input::StyleSheet

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

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

Required methods

fn active(&self) -> Style

Produces the style of an active text input.

fn focused(&self) -> Style

Produces the style of a focused text input.

fn placeholder_color(&self) -> Color

fn value_color(&self) -> Color

fn selection_color(&self) -> Color

Loading content...

Provided methods

fn hovered(&self) -> Style

Produces the style of an hovered text input.

Loading content...

Implementors

Loading content...