Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/doc/lua
diff options
context:
space:
mode:
authorVladimir Krasheninnikov <boba09@list.ru>2025-03-16 14:15:20 +0100
committerVladimir Krasheninnikov <boba09@list.ru>2025-03-16 14:15:20 +0100
commit80a500afc9f92514f02a1fd2a8a9b012779f3539 (patch)
treee2a6d172e7953ecfb85e75b68623b6e06c8ce495 /doc/lua
parente8309c463d58b2ff8aab2e14a5b1e5f5065cecda (diff)
Add widget.setImageStretchSet
Diffstat (limited to 'doc/lua')
-rw-r--r--doc/lua/openstarbound/widget.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/lua/openstarbound/widget.md b/doc/lua/openstarbound/widget.md
index 4d97e9a..288c899 100644
--- a/doc/lua/openstarbound/widget.md
+++ b/doc/lua/openstarbound/widget.md
@@ -30,4 +30,18 @@ Gets the cursor position of a TextBoxWidget.
#### `void` widget.setCursorPosition(`String` widgetName, `int` cursorPosition)
-Sets the cursor position of a TextBoxWidget. \ No newline at end of file
+Sets the cursor position of a TextBoxWidget.
+
+---
+
+#### `void` widget.setImageStretchSet(`String` widgetName, `Json` imageStretchSet)
+
+Sets the full image set of a ImageStretchWidget.
+
+```
+{
+ begin = "image.png",
+ inner = "image.png",
+ end = "image.png"
+}
+```