1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00
This commit is contained in:
SmallJoker 2025-06-27 17:28:16 +08:00 committed by GitHub
commit 23aba644cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 286 additions and 48 deletions

View file

@ -3653,6 +3653,8 @@ Some types may inherit styles from parent types.
* `+<number>`/`-<number>`: Offsets default font size by `number` points.
* `*<number>`: Multiplies default font size by `number`, similar to CSS `em`.
* border - boolean, draw border. Set to false to hide the bevelled button pane. Default true.
* border_img - string, a texture that overrides the border style.
* border_img_middle - rect, to render `border_img` in 9-sliced mode. Refer to `background9[...]`.
* content_offset - 2d vector, shifts the position of the button's content without resizing it.
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
* padding - rect, adds space between the edges of the button and the content. This value is