Skip to content

Commit

Permalink
Add information about the button height
Browse files Browse the repository at this point in the history
  • Loading branch information
cx384 authored and SmallJoker committed Jul 16, 2017
1 parent d4cc49e commit d60434c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/client_lua_api.md
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions doc/lua_api.txt
Expand Up @@ -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

Expand Down

0 comments on commit d60434c

Please sign in to comment.