def METHOD_NAME(self, _context):
    layout = self.layout
    layout.use_property_split = True
    layout.use_property_decorate = False
    layout.separator()
    layout.prop(self, "major_segments")
    layout.prop(self, "minor_segments")
    layout.separator()
    layout.prop(self, "mode")
    if self.mode == 'MAJOR_MINOR':
        layout.prop(self, "major_radius")
        layout.prop(self, "minor_radius")
    else:
        layout.prop(self, "abso_major_rad")
        layout.prop(self, "abso_minor_rad")
    layout.separator()
    layout.prop(self, "generate_uvs")
    layout.prop(self, "align")
    layout.prop(self, "location")
    layout.prop(self, "rotation")