diff options
author | cx384 <muelladresse84@web.de> | 2017-07-16 13:09:27 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2017-07-16 13:10:34 +0200 |
commit | d60434c7b1d2fcc1848fdb619491991d025cb574 (patch) | |
tree | 653a781a4cb39dcb306ae977611953767cf8db49 /doc | |
parent | d4cc49e9a72cb5cce7dce80ccc0196aedd106acd (diff) | |
download | minetest-d60434c7b1d2fcc1848fdb619491991d025cb574.tar.gz minetest-d60434c7b1d2fcc1848fdb619491991d025cb574.tar.bz2 minetest-d60434c7b1d2fcc1848fdb619491991d025cb574.zip |
Add information about the button height
Diffstat (limited to 'doc')
-rw-r--r-- | doc/client_lua_api.md | 1 | ||||
-rw-r--r-- | doc/lua_api.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index 3bd1e3567..041c6eaa8 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -408,6 +408,7 @@ examples. * Clickable button. When clicked, fields will be sent. * `x`, `y` and `name` work as per field * `w` and `h` are the size of the button +* Fixed button height. It will be vertically centred on `h` * `label` is the text on the button * Position and size units are inventory slots diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e675cc703..3eb1fdc64 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1857,6 +1857,7 @@ examples. * Clickable button. When clicked, fields will be sent. * `x`, `y` and `name` work as per field * `w` and `h` are the size of the button +* Fixed button height. It will be vertically centred on `h` * `label` is the text on the button * Position and size units are inventory slots |