Skip to content
George Joseph edited this page Oct 20, 2019 · 1 revision

Derived from Element -> Panel.

A simple grid of elements, usually Buttons.

{
	/*
	 * All attributes of Element and Panel apply here
	 */

	"id": "my_grid",
	"type": "grid",
	
	/*
	 * How big should the grid be and should it be
	 * filled row first or column?  At least one of "rows"
	 * or "cols" must be provided.  The other will be
	 * determined by the number of elements in "element_configs".
	 */
	"rows": 4,
	"cols": 3,
	"direction": "row",
	
}
Clone this wiki locally