Snap overlay's bottom/right edge to same window's edge on overflow
This commit is contained in:
parent
e0ecf3bc4c
commit
ea8b5016f7
4 changed files with 20 additions and 11 deletions
|
@ -94,7 +94,7 @@ impl View for ContextMenu {
|
|||
|
||||
Overlay::new(expanded_menu)
|
||||
.hoverable(true)
|
||||
.align_to_fit(true)
|
||||
.move_to_fit(true)
|
||||
.with_abs_position(self.position)
|
||||
.boxed()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue