Types-for-Adobe icon indicating copy to clipboard operation
Types-for-Adobe copied to clipboard

ScriptUI: optional `bounds` prop for "tab" control

Open fartinmartin opened this issue 3 years ago • 0 comments

I believe the bounds prop should be optional when creating a "tab" control. This removes this error I was receiving:

No overload matches this call.
  The last overload gave the following error.
    Argument of type '"tab"' is not assignable to parameter of type '"treeview"'.

when attempting:

var tabbedPanel = Window.add("tabbedpanel", undefined, undefined, { name: "tabbedPanel" });
var tab1 = tabbedPanel.add("tab", undefined, undefined, { name: "tab1" });

fartinmartin avatar Nov 30 '21 21:11 fartinmartin