diff options
author | 2020-01-07 05:19:01 +0100 | |
---|---|---|
committer | 2020-01-07 05:19:01 +0100 | |
commit | 08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c (patch) | |
tree | 175cb2a4a3d8adaa52191e2639f489ed5d04322c /examples | |
parent | f7a8b6983c2af491803bf84f341d8069045ffb5e (diff) | |
download | iced-08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c.tar.gz iced-08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c.tar.bz2 iced-08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c.zip |
Color borders of `Checkbox` and `Radio` in `styling` example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/styling.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/styling.rs b/examples/styling.rs index a11bf155..f0edfd82 100644 --- a/examples/styling.rs +++ b/examples/styling.rs @@ -311,9 +311,9 @@ mod style { fn active(&self) -> radio::Style { radio::Style { background: Background::Color(SURFACE), - dot_color: Color::WHITE, - border_width: 0, - border_color: Color::TRANSPARENT, + dot_color: ACTIVE, + border_width: 1, + border_color: ACTIVE, } } @@ -496,10 +496,10 @@ mod style { fn active(&self) -> checkbox::Style { checkbox::Style { background: Background::Color(SURFACE), - checkmark_color: Color::WHITE, + checkmark_color: ACTIVE, border_radius: 2, - border_width: 0, - border_color: Color::TRANSPARENT, + border_width: 1, + border_color: ACTIVE, } } |