How can Display Boxes be center aligned?How can the two objects in the following JSL be aligned along their respective central lines as shown in the image?
New Window( "Test",
Text Box( "Test Center alignment" ),
CB = Combo Box( {"1", "2", "3", "4"}, );
);
Automation and ScriptingRe: How can objects be aligned with a central line?You can use H/V List Box(align("center")) or H/V Center Box
Names Default To Here(1);
nw = New Window("Test",
V List Box(
align("center"),
Text Box("Test Center alignment"),
CB = Combo Box({"1", "2", "3", "4"})
)
);
Display Functions

