leftToWindowLeft
Returns a MenuPosition.Horizontal which aligns the left of the menu to the left of the window.
The resulting x position will be coerced so that the menu remains within the area inside the given margin from the left and right edges of the window.