Function cosmic::widget::dropdown::layout

source ยท
pub fn layout(
    renderer: &Renderer,
    limits: &Limits,
    width: Length,
    gap: f32,
    padding: Padding,
    text_size: f32,
    text_line_height: LineHeight,
    font: Option<Font>,
    selection: Option<(&str, &mut Plain<<Renderer as Renderer>::Paragraph>)>,
    has_icons: bool,
) -> Node
Expand description

Computes the layout of a Dropdown.