summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorHugues Ross <hugues.ross@gmail.com>2020-01-16 13:41:07 -0500
committerrubenwardy <rw@rubenwardy.com>2020-01-16 18:41:07 +0000
commit680aaa1bd55fd4f0162ba31ca47d7e5b3563f2a1 (patch)
tree9bf016488eecfb804585d2ac10f2c5bb3178d466 /doc/lua_api.txt
parentcea4fd2b27bd266a3dcb8f9ddf9b434ba00c60ad (diff)
downloadminetest-680aaa1bd55fd4f0162ba31ca47d7e5b3563f2a1.tar.gz
minetest-680aaa1bd55fd4f0162ba31ca47d7e5b3563f2a1.tar.bz2
minetest-680aaa1bd55fd4f0162ba31ca47d7e5b3563f2a1.zip
Make clipping of formspec elements more consistent (#9262)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f14c815ed..57159d6ac 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -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)