diff options
author | Vladimir Krasheninnikov <boba09@list.ru> | 2025-03-16 14:15:20 +0100 |
---|---|---|
committer | Vladimir Krasheninnikov <boba09@list.ru> | 2025-03-16 14:15:20 +0100 |
commit | 80a500afc9f92514f02a1fd2a8a9b012779f3539 (patch) | |
tree | e2a6d172e7953ecfb85e75b68623b6e06c8ce495 /doc | |
parent | e8309c463d58b2ff8aab2e14a5b1e5f5065cecda (diff) |
Add widget.setImageStretchSet
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua/openstarbound/widget.md | 16 |
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" +} +``` |