Class

AnchorAlignmentOffsetPosition.Horizontal

A MenuPosition.Horizontal which horizontally aligns the given menuAlignment with the given anchorAlignment.

Source set: Common
data class Horizontal(
        private val menuAlignment: Alignment.Horizontal,
        private val anchorAlignment: Alignment.Horizontal,
    ) : MenuPosition.Horizontal

A MenuPosition.Horizontal which horizontally aligns the given menuAlignment with the given anchorAlignment.

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: