Different EnumProperty design How do I get this design of an EnumProperty?
My code(basically just the standard Operator File Export template):
import bpy


def write_some_data(context, filepath, use_some_setting):
    print(&quot;running write_some_data...&quot;)
    f = open(filepath, 'w', encoding='utf-8')
    f.write(&quot;Hello World %s&quot; % use_some_setting)
    f.close()

    return {'FINISHED'}


# ExportHelper is a helper class, defines filename and
# invoke() function which calls the file selector.
from bpy_extras.io_utils import ExportHelper
from bpy.props import StringProperty, BoolProperty, EnumProperty
from bpy.types import Operator


class ExportSomeData(Operator, ExportHelper):   
    &quot;&quot;&quot;This appears in the tooltip of the operator and in the gener ated docs&quot;&quot;&quot;
    bl_idname = &quot;export_test.some_data&quot;  # important since its how  bpy.ops.import_test.some_data is constructed
    bl_label = &quot;Export Some Data&quot;

    # ExportHelper mixin class uses this
    filename_ext = &quot;.txt&quot;

    filter_glob: StringProperty(
        default=&quot;*.txt&quot;,
        options={'HIDDEN'},
        maxlen=255,  # Max internal buffer length, longer would be clamped.
    )

    # List of operator properties, the attributes will be assigned
    # to the class instance from the operator settings before calling.
    use_setting: BoolProperty(
        name=&quot;Example Boolean&quot;,
        description=&quot;Example Tooltip&quot;,
        default=True,
    )

    type: EnumProperty(
        name=&quot;Example Enum&quot;,
        description=&quot;Choose between two items&quot;,
        items=(
            ('OPT_A', &quot;First Option&quot;, &quot;Description one&quot;),
            ('OPT_B', &quot;Second Option&quot;, &quot;Description two&quot;),
        ),
        default='OPT_A',
    )

    def execute(self, context):
        return write_some_data(context, self.filepath, self.use_setting)


# Only needed if you want to add into a dynamic menu
def menu_func_export(self, context):
    self.layout.operator(ExportSomeData.bl_idname, text=&quot;Text Export Operator&quot;)


def register():
    bpy.utils.register_class(ExportSomeData)
    bpy.types.TOPBAR_MT_file_export.append(menu_func_export)


def unregister():
    bpy.utils.unregister_class(ExportSomeData)
    bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)


if __name__ == &quot;__main__&quot;:
    register()

    # test call
    bpy.ops.export_test.some_data('INVOKE_DEFAULT')
You also need to add a draw method to your operator like this
    def draw(self, context):
        layout = self.layout
        layout.use_property_split = True
        layout.use_property_decorate = False  # No animation.

        # column() is what makes it go vertically
        layout.column().prop(self, &quot;type&quot;)