Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a54715b

Browse files
cx384SmallJoker
authored andcommittedJul 16, 2017
Add information about the button height
1 parent d4cc49e commit a54715b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

Diff for: ‎doc/client_lua_api.md

+1
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ examples.
408408
* Clickable button. When clicked, fields will be sent.
409409
* `x`, `y` and `name` work as per field
410410
* `w` and `h` are the size of the button
411+
* Fixed button height. It will be vertically centred on `h`
411412
* `label` is the text on the button
412413
* Position and size units are inventory slots
413414

Diff for: ‎doc/lua_api.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,7 @@ examples.
18571857
* Clickable button. When clicked, fields will be sent.
18581858
* `x`, `y` and `name` work as per field
18591859
* `w` and `h` are the size of the button
1860+
* Fixed button height. It will be vertically centred on 'h'
18601861
* `label` is the text on the button
18611862
* Position and size units are inventory slots
18621863

0 commit comments

Comments
 (0)
Please sign in to comment.