Fix Widget::layout for Checkbox

This commit is contained in:
Héctor Ramón Jiménez 2020-07-28 08:23:44 +02:00
parent 5fd239c488
commit 51c22f2426

View File

@ -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())),
)