-
Notifications
You must be signed in to change notification settings - Fork 0
Home

Respec is a Luanti mod for easily creating of Formspecs. Respec supports all features of Formspecs past version 2.
Respec uses relative positioning to specify the layout of elements, which is what this Wiki describes with examples and visuals.
For a fully detailed reference of functions, see the Respec API
In Respec, the order in which you specify Elements does not matter for arrangement purposes.
Elements are arranged on screen relative to one another, and/or relative to layout bounds. This does not depend on which element is specified first in the list of elements.
The element order only matters for elements like StyleType which generally apply their styling only to elements that appear after their definition.
See the Creating a Form tab page on the right.