Skip to content
Permalink
Browse files

Add information about the button height

  • Loading branch information...
cx384 authored and SmallJoker committed Jul 16, 2017
1 parent d4cc49e commit a54715b450c18d7b61a6e849a50dae9137bc103e
Showing with 2 additions and 0 deletions.
  1. +1 −0 doc/client_lua_api.md
  2. +1 −0 doc/lua_api.txt
@@ -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

@@ -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

0 comments on commit a54715b

Please sign in to comment.
You can’t perform that action at this time.