Skip to content

Commit 2c5087a

Browse files
committed
fix deprecated simUI attirbute
1 parent 5abca79 commit 2c5087a

4 files changed

+4
-4
lines changed

Add-on edit.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function sysCall_init()
6060
end
6161

6262
ui = simUI.create([[<ui title="Add-on editor" closeable="true" on-close="closeUi" resizable="false">
63-
<label text="Select an add-on to edit and click Edit; it will be loaded into a customization script. When finished, click Save to save it back to the original add-on script file." wordwrap="true" />
63+
<label text="Select an add-on to edit and click Edit; it will be loaded into a customization script. When finished, click Save to save it back to the original add-on script file." word-wrap="true" />
6464
<combobox id="${ui_combo}">]] .. addonsCbItems .. [[</combobox>
6565
<button id="${ui_btnEdit}" text="Edit" on-click="edit" />
6666
<button id="${ui_btnSave}" text="Save" on-click="save" enabled="false" />

Inverse Kinematics generator.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function sysCall_init()
1313
simIK = require 'simIK'
1414
ui = simUI.create(
1515
[[<ui title="Inverse Kinematics generator" closeable="true" on-close="onClose" layout="vbox" modal="true">
16-
<label wordwrap="true" text="This addon generates a script for solving inverse kinematics for the given tip/target/params. The script will be placed in an 'IK' script object child of the robot model. Choose the params below and click 'Generate'." />
16+
<label word-wrap="true" text="This addon generates a script for solving inverse kinematics for the given tip/target/params. The script will be placed in an 'IK' script object child of the robot model. Choose the params below and click 'Generate'." />
1717
<group flat="true" content-margins="0,0,0,0" layout="form">
1818
<label text="Robot model:" />
1919
<combobox id="${ui_comboRobotModel}" on-change="onModelChanged" />

Motion Planning generator.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function sysCall_init()
1010
simOMPL = require 'simOMPL'
1111
ui = simUI.create(
1212
[[<ui title="Motion Planning generator" closeable="true" on-close="onClose" layout="vbox" modal="true">
13-
<label wordwrap="true" text="This addon generates a script for solving motion planning tasks for the given robot. The script will be placed in a 'Motion Planning' object under the robot model. Choose the params below and click 'Generate'." />
13+
<label word-wrap="true" text="This addon generates a script for solving motion planning tasks for the given robot. The script will be placed in a 'Motion Planning' object under the robot model. Choose the params below and click 'Generate'." />
1414
<group flat="true" content-margins="0,0,0,0" layout="form">
1515
<label text="Robot model:" />
1616
<combobox id="${ui_comboRobotModel}" on-change="onModelChanged" />

Script capture.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function sysCall_init()
3030
<button id="${btnInsertComment}" text="Insert comment" on-click="insertComment" />
3131
</group>
3232
<text-browser id="${txtCode}" text="" html="false" />
33-
<label id="${lblCapturing}" text="Capturing: N/A" wordwrap="true" on-link-activated="editSettings" />
33+
<label id="${lblCapturing}" text="Capturing: N/A" word-wrap="true" on-link-activated="editSettings" />
3434
</ui>]]
3535
trackedHandles = {}
3636
log = {}

0 commit comments

Comments
 (0)