ecosdlg: layout correction