JavaScript InDesign dialog window .orientation deprecated
Hello,
I am currently going through Peter Kahrel's "ScriptUI for Dummies" book, and there is a piece of code to make a dialog window with user input that I tried out:
var myWindow = new Window ("dialog", "Window title");
myWindow.orientation = "row";
myWindow.add ("statictext", undefined, "Prompt:");
var myText = myWindow.add ("edittext");
myWindow.show ();This works, but .orientation is striked through, which as I understand means this feature will not be supported anymore in the future. What should I be using instead?
Thanks,
Heidi
