summaryrefslogtreecommitdiffstats
path: root/examples/styling.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-07 05:19:01 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-07 05:19:01 +0100
commit08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c (patch)
tree175cb2a4a3d8adaa52191e2639f489ed5d04322c /examples/styling.rs
parentf7a8b6983c2af491803bf84f341d8069045ffb5e (diff)
downloadiced-08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c.tar.gz
iced-08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c.tar.bz2
iced-08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c.zip
Color borders of `Checkbox` and `Radio` in `styling` example
Diffstat (limited to 'examples/styling.rs')
-rw-r--r--examples/styling.rs12
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,
}
}