Parameter controls in the dialog are displayed in the same column


I want the controls in the image below to be all in one column, I tried to add them all in a dialog group, but it didn’t work, what should I do

public Object dialog()
    {


        Dialog      ret;
        DialogGroup dialogGroup,dialogGroup1,dialogGroup2,dialogGroup3;
        ret = super();

        test = ret;
        ret.form().design().columns(1);
        dialogGroup = ret.addGroup("");

        dialogGroup.columns(1);

        dialogGroup1 = ret.addGroup("");
        dialogGroup1.columns(1);

        fromTestGroupFld = ret.addField(identifierStr(InventTestGroupId), "");
     
        fromTestGroupDescFld = ret.addField(identifierStr(Description));
        fromTestGroupDescFld.enabled(false);


        dialogGroup2 = ret.addGroup("");
        dialogGroup2.columns(1);
        //ret.addGroup("").columns(1);

        toTestGroupFld = ret.addField(identifierStr(InventTestGroupId), "");

        toTestGroupDescFld = ret.addField(identifierStr(Description));
        toTestGroupDescFld.enabled(false);

        dialogGroup3 = ret.addGroup("");
        dialogGroup3.columns(1);
        formBuildGroupControl = ret.mainFormGroup();
     
        formBuildRadioControl = formBuildGroupControl.addControl(FormControlType::RadioButton,'radioButtons');
        formBuildRadioControlId = formBuildRadioControl.id();

        //set number of buttons
        formBuildRadioControl.items(2);
        //add descriptions
        formBuildRadioControl.item(1);
        formBuildRadioControl.text("");
        formBuildRadioControl.item(2);
        formBuildRadioControl.text("");
        formBuildRadioControl.selection(0);


        return ret;
        formRadioControl = ret.formRun().control(formBuildRadioControlId);

    }

Can you try this?

Dialog dlg;
DialogGroup dlgGroup;

dlg= new Dialog(“fields in one column”);
dlgGroup= dlg.addGroup(“Description”);
dlgGroup.columns(6);

Sorry for the late reply,
dlgGroup.columns(6); the result of this is that all the parameters are in one row, what I want is in one column, I tried dlgGroup.columns(1) but it didn’t work