Fix Widget::layout
for Checkbox
This commit is contained in:
parent
5fd239c488
commit
51c22f2426
@ -146,6 +146,7 @@ where
|
|||||||
)
|
)
|
||||||
.push(
|
.push(
|
||||||
Text::new(&self.label)
|
Text::new(&self.label)
|
||||||
|
.font(self.font)
|
||||||
.width(self.width)
|
.width(self.width)
|
||||||
.size(self.text_size.unwrap_or(renderer.default_size())),
|
.size(self.text_size.unwrap_or(renderer.default_size())),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user