diff options
author | 2021-11-14 11:35:12 +0100 | |
---|---|---|
committer | 2021-11-14 11:35:12 +0100 | |
commit | 1a6c912332b619bcb70df8ee99808175b7d4aad0 (patch) | |
tree | 84f2b86a4905f7c3dd81cc732b90efb8c455b545 /examples | |
parent | f084ed8df154a7f3b0386cfb7e13307f6a6290d0 (diff) | |
download | iced-1a6c912332b619bcb70df8ee99808175b7d4aad0.tar.gz iced-1a6c912332b619bcb70df8ee99808175b7d4aad0.tar.bz2 iced-1a6c912332b619bcb70df8ee99808175b7d4aad0.zip |
Add checkbox text_color styling
Diffstat (limited to 'examples')
-rw-r--r-- | examples/styling/src/main.rs | 1 |
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, |