1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Make clipping of formspec elements more consistent (#9262)

This commit is contained in:
Hugues Ross 2020-01-16 13:41:07 -05:00 committed by rubenwardy
parent cea4fd2b27
commit 680aaa1bd5
3 changed files with 17 additions and 3 deletions

View file

@ -2563,6 +2563,9 @@ Some types may inherit styles from parent types.
### Valid Properties
* box
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
* Default to false in formspec_version version 3 or higher
* button, button_exit, image_button, item_image_button
* alpha - boolean, whether to draw alpha in bgimg. Default true.
* bgcolor - color, sets button tint.
@ -2586,6 +2589,11 @@ Some types may inherit styles from parent types.
* border - set to false to hide the textbox background and border. Default true.
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
* textcolor - color. Default white.
* image
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
* Default to false in formspec_version version 3 or higher
* item_image
* noclip - boolean, set to true to allow the element to exceed formspec bounds. Default to false.
* label, vertlabel
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
* image_button (additional properties)