PopupPositionProvider

Types

Link copied to clipboard

Position relative to the window, not relative to the anchor!

Functions

Link copied to clipboard
abstract fun calculatePosition(anchorBounds: IntRect, windowBounds: IntRect, layoutDirection: LayoutDirection, popupContentSize: IntSize, popupMargin: IntRect, alignment: PopupPositionProvider.Align): IntOffset

Calculate the position (offset) of Popup

Link copied to clipboard
abstract fun getMargins(): PaddingValues

(Extra) Margins for the popup content.