summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-28 08:23:44 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-28 08:23:44 +0200
commit51c22f2426019a8222c41fe7ac697aa6ff6543a0 (patch)
tree86a319d1e2d6ea42e6ad7ab7ddefc80eaafb4b23 /native
parent5fd239c488535b9cb67f1e63120ea738e4a0477b (diff)
downloadiced-51c22f2426019a8222c41fe7ac697aa6ff6543a0.tar.gz
iced-51c22f2426019a8222c41fe7ac697aa6ff6543a0.tar.bz2
iced-51c22f2426019a8222c41fe7ac697aa6ff6543a0.zip
Fix `Widget::layout` for `Checkbox`
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/checkbox.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs
index e6e6c2f8..99178aae 100644
--- a/native/src/widget/checkbox.rs
+++ b/native/src/widget/checkbox.rs
@@ -146,6 +146,7 @@ where
)
.push(
Text::new(&self.label)
+ .font(self.font)
.width(self.width)
.size(self.text_size.unwrap_or(renderer.default_size())),
)