add border widths to toggler stylesheet
This commit is contained in:
parent
80a29a277e
commit
ae3f5ba1a3
3 changed files with 14 additions and 8 deletions
|
|
@ -6,12 +6,16 @@ use iced_core::Color;
|
|||
pub struct Appearance {
|
||||
/// The background [`Color`] of the toggler.
|
||||
pub background: Color,
|
||||
/// The width of the background border of the toggler.
|
||||
pub background_border_width: f32,
|
||||
/// The [`Color`] of the background border of the toggler.
|
||||
pub background_border: Option<Color>,
|
||||
pub background_border_color: Color,
|
||||
/// The foreground [`Color`] of the toggler.
|
||||
pub foreground: Color,
|
||||
/// The width of the foreground border of the toggler.
|
||||
pub foreground_border_width: f32,
|
||||
/// The [`Color`] of the foreground border of the toggler.
|
||||
pub foreground_border: Option<Color>,
|
||||
pub foreground_border_color: Color,
|
||||
}
|
||||
|
||||
/// A set of rules that dictate the style of a toggler.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue