Type SingleSelectLayout

type SingleSelectLayout struct{ Bounds, Input, Popup ui.Rect }

SingleSelectLayout is where the control, its native input and its popup were painted, for callers that route text input or place overlays.

Constructors

PaintSingleSelect#

func PaintSingleSelect(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect, s *SingleSelectState, o SingleSelectOptions) SingleSelectLayout

PaintSingleSelect shares text-entry and menu primitives with Combobox and MultiSelect. The query stays a native editor; no chip or multi-selection is introduced when the selected value changes.