summaryrefslogtreecommitdiffstats
path: root/examples/styling
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-11-15 15:35:27 +0700
committerLibravatar GitHub <noreply@github.com>2021-11-15 15:35:27 +0700
commit27bc2b90867c3c846934c888322ae9d4804296e4 (patch)
treefa78f9fdd6020ecd7e18c681b88a1ce3846d79ce /examples/styling
parent04f3a3d81b07733794a657652dc070e90e3b3306 (diff)
parent1a6c912332b619bcb70df8ee99808175b7d4aad0 (diff)
downloadiced-27bc2b90867c3c846934c888322ae9d4804296e4.tar.gz
iced-27bc2b90867c3c846934c888322ae9d4804296e4.tar.bz2
iced-27bc2b90867c3c846934c888322ae9d4804296e4.zip
Merge pull request #1116 from gonsor/checkbox_text_color
Add checkbox text_color styling
Diffstat (limited to 'examples/styling')
-rw-r--r--examples/styling/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs
index 4e319285..065764b3 100644
--- a/examples/styling/src/main.rs
+++ b/examples/styling/src/main.rs
@@ -528,6 +528,7 @@ mod style {
background: if is_checked { ACTIVE } else { SURFACE }
.into(),
checkmark_color: Color::WHITE,
+ text_color: Color::BLACK,
border_radius: 2.0,
border_width: 1.0,
border_color: ACTIVE,