Skip to content

Commit

Permalink
Fix Widget::layout for Checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jul 28, 2020
1 parent 5fd239c commit 51c22f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions native/src/widget/checkbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
)
Expand Down

0 comments on commit 51c22f2

Please sign in to comment.