properly constrained tab
This commit is contained in:
parent
ab9f073443
commit
03a344a272
2 changed files with 95 additions and 81 deletions
|
@ -107,6 +107,9 @@ impl<V: View> DragAndDrop<V> {
|
|||
Container::new(render(payload, cx))
|
||||
.with_margin_left(position.x())
|
||||
.with_margin_top(position.y())
|
||||
.aligned()
|
||||
.top()
|
||||
.left()
|
||||
.boxed()
|
||||
})
|
||||
.on_up(MouseButton::Left, |_, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue