bottomToWindowBottom

Returns a MenuPosition.Vertical which aligns the bottom of the menu to the bottom of the window.

The resulting y position will be coerced so that the menu remains within the area inside the given margin from the top and bottom edges of the window.