Add leeway support to PaneGrid::on_resize
This commit is contained in:
parent
041cab0fa4
commit
be0cc2c780
2 changed files with 19 additions and 11 deletions
|
|
@ -103,7 +103,7 @@ impl Sandbox for Example {
|
|||
.height(Length::Fill)
|
||||
.spacing(10)
|
||||
.on_drag(Message::Dragged)
|
||||
.on_resize(Message::Resized)
|
||||
.on_resize(10, Message::Resized)
|
||||
.on_key_press(handle_hotkey);
|
||||
|
||||
Container::new(pane_grid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue