Class

WindowAlignmentMarginPosition.Horizontal

A MenuPosition.Horizontal which horizontally aligns the menu within the window according to the given alignment.

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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: