Question
Unable to add more controls on PreferencesDialog
Hi
I am creating a new panel on Bridge's Preferences. I use the PreferencesDialog object but I am able to create only a single control on it. The following lines:
var cbOne = panel.add( "checkbox", [50, 50, 200, 100], "First");
var cbTwo = panel.add( "checkbox", [150, 150, 200, 100], "Second");
show only the first one. The same happens for every control (panels, etc.). Only the first control is shown.
I used the SnpAddPreferencesPanel.jsx sample on the Bridge CS3 SDK, adding only a second checkbox.
Anyone tried to do something similar and worked? I have forgotten to add something else in code?
Thank You for the help!
I am creating a new panel on Bridge's Preferences. I use the PreferencesDialog object but I am able to create only a single control on it. The following lines:
var cbOne = panel.add( "checkbox", [50, 50, 200, 100], "First");
var cbTwo = panel.add( "checkbox", [150, 150, 200, 100], "Second");
show only the first one. The same happens for every control (panels, etc.). Only the first control is shown.
I used the SnpAddPreferencesPanel.jsx sample on the Bridge CS3 SDK, adding only a second checkbox.
Anyone tried to do something similar and worked? I have forgotten to add something else in code?
Thank You for the help!
