Pass node in the config hash instead of as an argument
This commit is contained in:
parent
06dc27d631
commit
a5f2e19c12
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ var WidgetsFactoryDialog = {
|
||||||
m.checkbox_right = gui.widgets.CheckBox.new(m.tabsContent, style, {"label-position": "left"})
|
m.checkbox_right = gui.widgets.CheckBox.new(m.tabsContent, style, {"label-position": "left"})
|
||||||
.setText("Checkbox with text on the left side");
|
.setText("Checkbox with text on the left side");
|
||||||
m.tab_1.addItem(m.checkbox_right);
|
m.tab_1.addItem(m.checkbox_right);
|
||||||
m.property_checkbox = gui.widgets.PropertyCheckBox.new(props.globals.getNode("/controls/lighting/nav-lights"), m.tabsContent, style, {})
|
m.property_checkbox = gui.widgets.PropertyCheckBox.new(m.tabsContent, style, {"node": props.globals.getNode("/controls/lighting/nav-lights")})
|
||||||
.setText("Nav lights");
|
.setText("Nav lights");
|
||||||
m.tab_1.addItem(m.property_checkbox);
|
m.tab_1.addItem(m.property_checkbox);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue