Hi all, well i decided to write a multi-function code contains many scripts with choices, but i got an issue about layout this code produces widow layout as shown box=new Window("dialog", "Test"), radio=box.add("panel", undefined, "Group 1"), option1=radio.add("radiobutton", undefined, "111111"), option2=radio.add("radiobutton", undefined, "22222"), option3=radio.add("radiobutton", undefined, "33333"); radio.alignChildren="left"; radio.margins = [10,20,5, 30]; radio=box.add("panel", undefined, "Group 2"), option4=radio.add("radiobutton", undefined, "44444"); option5=radio.add("radiobutton", undefined, "55555"); option6=radio.add("radiobutton", undefined, "666666"); radio.alignChildren="left"; radio.margins = [10,20,5, 30]; radio=box.add("panel", undefined, "Group 3"), option7=radio.add("radiobutton", undefined, "77777"); option8=radio.add("radiobutton", undefined, "88888"); option9=radio.add("radiobutton", undefined, "9999"); radio.alignChildren="left"; radio.margins = [10,20,5, 30]; radio=box.add("panel", undefined, "Group 4"), option10=radio.add("radiobutton", undefined, "000000"); option11=radio.add("radiobutton", undefined, "0000000000"); option12=radio.add("radiobutton", undefined, "00000000000000000"); radio.alignChildren="left"; radio.margins = [10,20,5, 30]; option1.value = true; box.add ("button", undefined, "OK") if (box.show() == 1){ if (option1.value){app.doScript}; } i tried to edit orientation to be like rows with this code but i got this line code: box.orientation="row" any help to edit my code to make the layout be like Thanks in advance Suzan
... View more