Source set: Common
data class Horizontal(private val alignment: Alignment.Horizontal) : MenuPosition.Horizontal
A MenuPosition.Horizontal which horizontally aligns the menu within the window according to the given alignment.
Functions
position
Source set: Common
override fun position(
anchorBounds: IntRect,
windowSize: IntSize,
menuWidth: Int,
layoutDirection: LayoutDirection,
): Int