Skip to content

Commit

Permalink
Button: request paint on layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Nov 2, 2023
1 parent 3ac92f8 commit c18bb85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widget/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ impl Widget for Button {
);
self.layout = Some(layout);
//(Size::new(10.0, min_height), size)
cx.request_paint();
bc.constrain(size)
}

Expand Down

0 comments on commit c18bb85

Please sign in to comment.