summaryrefslogtreecommitdiffstats
path: root/examples/todos
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-05 22:03:10 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-05 22:03:10 +0100
commit87d16a090b14fa206bb87041a32d66348bc294e4 (patch)
tree77522cd0d372d23897d9957d39115846b37c50a9 /examples/todos
parent7d84c9c9c3619513519ac1ef7ea1c5f6e4e2cf5d (diff)
downloadiced-87d16a090b14fa206bb87041a32d66348bc294e4.tar.gz
iced-87d16a090b14fa206bb87041a32d66348bc294e4.tar.bz2
iced-87d16a090b14fa206bb87041a32d66348bc294e4.zip
Reduce default size of `checkbox` to `15.0`
Diffstat (limited to 'examples/todos')
-rw-r--r--examples/todos/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs
index b3b5d87a..800d2fe0 100644
--- a/examples/todos/src/main.rs
+++ b/examples/todos/src/main.rs
@@ -355,6 +355,7 @@ impl Task {
let checkbox = checkbox(&self.description, self.completed)
.on_toggle(TaskMessage::Completed)
.width(Length::Fill)
+ .size(17)
.text_shaping(text::Shaping::Advanced);
row![