Skip to main content

select_item_aligned_layout

Function select_item_aligned_layout 

Source
pub fn select_item_aligned_layout(
    inputs: SelectItemAlignedInputs,
) -> SelectItemAlignedLayout
Expand description

Returns a window-space content rect for Radix Select’s item-aligned positioning mode.

Upstream Radix computes CSS left/right + top/bottom style values. In Fret we convert that output into a concrete Rect in window space so renderer backends and non-shadcn recipes can reuse the same contract without reimplementing the mapping logic.