The flex container of Lumen (lumen_view), the panel behind the view and spacer
elements. It lays its children out with Lumen.Layout from its resolved style, draws the
background and the border the style asks for, and fires the on_press and on_right_press
props. Derives from EditablePanel.
Summary
Methods
Measures the size the children need, for a view whose size is auto.
OnMousePressed(code)client
Fires the press handlers of the element.
Paint(w, h)client
Draws the background and the border of the style.
PerformLayout(w, h)client
Lays the children out as a flex container.
Methods
Measures the size the children need, for a view whose size is auto.
Parameters
- max_w Number width available, nil if unconstrained
- max_h Number height available, nil if unconstrained
Returns
- Number width
- Number height
Fires the press handlers of the element.
Parameters
- code Number mouse button
Draws the background and the border of the style.
Parameters
- w Number panel width
- h Number panel height
Lays the children out as a flex container.
Parameters
- w Number panel width
- h Number panel height