1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Add formspec box color documentation to style section

This commit is contained in:
cx384 2025-09-06 11:44:46 +02:00 committed by GitHub
parent 46ef0bf313
commit c7d45fe51a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3612,6 +3612,8 @@ Some types may inherit styles from parent types.
* animated_image * animated_image
* noclip - boolean, set to true to allow the element to exceed formspec bounds. * noclip - boolean, set to true to allow the element to exceed formspec bounds.
* box * box
* **Note**: In order for any of the styling options to take effect,
the `color` field in the box element must be left unspecified.
* noclip - boolean, set to true to allow the element to exceed formspec bounds. * noclip - boolean, set to true to allow the element to exceed formspec bounds.
* Defaults to false in formspec_version version 3 or higher * Defaults to false in formspec_version version 3 or higher
* **Note**: `colors`, `bordercolors`, and `borderwidths` accept multiple input types: * **Note**: `colors`, `bordercolors`, and `borderwidths` accept multiple input types: