diff options
author | adelcoding1 <mustapha.tachouct@actionware.net> | 2017-02-18 11:40:37 -0800 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-10-09 08:11:00 +0200 |
commit | 9b8fa99fe30728c1fcfa73cdf74211841bdae9fb (patch) | |
tree | 30c9986d9fc814d37b89d5e20cdea9561c4aa5be /doc/lua_api.txt | |
parent | c830347a57c63698f14803233dfc43adeb3fd51f (diff) | |
download | minetest-9b8fa99fe30728c1fcfa73cdf74211841bdae9fb.tar.gz minetest-9b8fa99fe30728c1fcfa73cdf74211841bdae9fb.tar.bz2 minetest-9b8fa99fe30728c1fcfa73cdf74211841bdae9fb.zip |
FormSpec : Add an auto vertical scrollbar to the textarea
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index d9e858529..c29abdf9c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1918,8 +1918,9 @@ examples. * if <close_on_enter> is false, pressing enter in the field will submit the form but not close it * defaults to true when not specified (ie: no tag for a field) -#### `textarea[<X>,<Y>;<W>,<H>;<name>;<label>;<default>]` +#### `textarea[<X>,<Y>;<W>,<H>;<name>;<label>;<default>;<scrollbar>]` * Same as fields above, but with multi-line input +* if <scrollbar> is true an auto vertical scrollbar is added #### `label[<X>,<Y>;<label>]` * `x` and `y` work as per field |