Type MultiSelectLayout

type MultiSelectLayout struct {
	Bounds, Input, Popup ui.Rect
	Hidden               int
}

Constructors

PaintMultiSelect#

func PaintMultiSelect(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect, s *MultiSelectState, o MultiSelectOptions) MultiSelectLayout

PaintMultiSelect paints a compact editable multi-select. Chips that cannot fit beside the native query input collapse to +N; every value remains available in the popup for deselection. The popup traps focus around the input as well as the list, so typing and IME stay native while it is open.