mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add information about the button height
This commit is contained in:
@@ -408,6 +408,7 @@ examples.
|
|||||||
* Clickable button. When clicked, fields will be sent.
|
* Clickable button. When clicked, fields will be sent.
|
||||||
* `x`, `y` and `name` work as per field
|
* `x`, `y` and `name` work as per field
|
||||||
* `w` and `h` are the size of the button
|
* `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
|
* `label` is the text on the button
|
||||||
* Position and size units are inventory slots
|
* Position and size units are inventory slots
|
||||||
|
|
||||||
|
@@ -1857,6 +1857,7 @@ examples.
|
|||||||
* Clickable button. When clicked, fields will be sent.
|
* Clickable button. When clicked, fields will be sent.
|
||||||
* `x`, `y` and `name` work as per field
|
* `x`, `y` and `name` work as per field
|
||||||
* `w` and `h` are the size of the button
|
* `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
|
* `label` is the text on the button
|
||||||
* Position and size units are inventory slots
|
* Position and size units are inventory slots
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user