Not sure it's crossplatform but '\n' may work in a radiobutton (assuming you extend the preferredSize.height accordingly). Tested in Win10 / InDesign CC: PositionAbsolute = function( win,u,t)
{
with( win = new Window('dialog', "Simulate multiline label by tinkering with margins, spacing and indent") )
{
preferredSize = [450, 100];
orientation = 'column';
spacing = 0;
margins = 0;
alignChildren = ['left', 'top'];
}
with( win.g1=win.add('group') )
{
orientation = 'row';
spacing = 5;
margins = [12,12,0,0];
alignChildren = ['left', 'top'];
add('statictext',u,"FM Zielversion");
}
with( t=win.g1.rb=win.g1.add('group') )
{
orientation = 'row';
spacing = 5;
margins = [0,1,0,0];
alignChildren = ['left', 'top'];
}
t.rb8 = t.add('radiobutton',u,"FM-08");
t.rb9 = t.add('radiobutton',u,"FM-09");
(t.rb13 = t.add('radiobutton',u,"FM-13\n[2015]")).preferredSize.height=32;
(t.rb14 = t.add('radiobutton',u,"FM-14\n[2017]")).preferredSize.height=32;
(t.rb15 = t.add('radiobutton',u,"FM-15\n[2019]")).preferredSize.height=32;
win.st2 = win.add('statictext', u, "Continued presentation with some distance to the previous elements. We do not have any SPACING active, hence need to get vertical space by empty test lines. (Although this could be done by other means, like adding a top margin at a group level.)", { multiline:true });
win.st2.preferredSize.width = 450;
win.show();
} Best, M
... View more