I need a right to left Window (is a object in ScriptUI). In C#, a form has tow properties RightToLeft and RightToLeft layout that create a right to left form.
How can I do this in Extendscript?
I need a right to left Window (is a object in ScriptUI). In C#, a form has tow properties RightToLeft and RightToLeft layout that create a right to left form.
How can I do this in Extendscript?
In ScriptUI, the alignment property can be set on either the container itself or on its children. Given that w is your window :
var w = new Window('dialog');
w.preferredSize.width = 200;
var t1 = w.add('statictext',undefined, "I am right justified");
t1.alignment = "right";
var t2 = w.add('statictext',undefined, "I am centered justified");
t2.alignment = "center";
var t3 = w.add('statictext',undefined, "I am left justified");
t3.alignment = "left";
w.show();