JAL-591 adapt option layout to width of dialog box