论坛帮助 |
社区圈子 |
日历事件 |
2023-02-22, 15:08 | #1 | ||
|
|||
正式会员
等级: 一袋长老
|
请问大佬 途中圈起来的怎么换行? 加什么命令呢? 感谢! var dialog = new Window("dialog"); dialog.text = "画板批量重命名"; dialog.orientation = "column"; dialog.alignChildren = ["center","center"]; dialog.spacing = 21; dialog.margins = 15; // PANEL1 // ====== var panel1 = dialog.add("panel", undefined, undefined, {name: "panel1"}); panel1.text = "Panel"; panel1.preferredSize.height = 132; panel1.orientation = "row"; panel1.alignChildren = ["center","center"]; panel1.spacing = 0; panel1.margins = 10; var radiobutton1 = panel1.add("radiobutton", undefined, undefined, {name: "radiobutton1"}); radiobutton1.text = "修改编号"; var radiobutton2 = panel1.add("radiobutton", undefined, undefined, {name: "radiobutton2"}); radiobutton2.text = "修改尺寸"; radiobutton2.alignment = ["center","center"]; var radiobutton3 = panel1.add("radiobutton", undefined, undefined, {name: "radiobutton3"}); radiobutton3.text = "编号+尺寸"; var radiobutton4 = panel1.add("radiobutton", undefined, undefined, {name: "radiobutton4"}); radiobutton4.text = "画板统一名字:"; radiobutton4.value = true; var edittext1 = panel1.add('edittext {justify: "center", properties: {name: "edittext1"}}'); edittext1.text = "110101"; edittext1.preferredSize.width = 95; // DIALOG // ====== var checkbox1 = dialog.add("checkbox", undefined, undefined, {name: "checkbox1"}); checkbox1.text = "是否是超大画板"; dialog.show(); |
||