diff --git a/blender/arm/props_properties.py b/blender/arm/props_properties.py index 1379813a..510e10eb 100644 --- a/blender/arm/props_properties.py +++ b/blender/arm/props_properties.py @@ -18,11 +18,11 @@ class ArmPropertyListItem(bpy.types.PropertyGroup): class ARM_UL_PropertyList(bpy.types.UIList): def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): + layout.use_property_split = False # Make sure your code supports all 3 layout types if self.layout_type in {'DEFAULT', 'COMPACT'}: - row = layout.row() - row.prop(item, "name_prop", text="", emboss=False, icon="OBJECT_DATAMODE") - row.prop(item, item.type_prop + "_prop", text="", emboss=(item.type_prop == 'boolean')) + layout.prop(item, "name_prop", text="", emboss=False, icon="OBJECT_DATAMODE") + layout.prop(item, item.type_prop + "_prop", text="", emboss=(item.type_prop == 'boolean')) elif self.layout_type in {'GRID'}: layout.alignment = 'CENTER' layout.label(text="", icon="OBJECT_DATAMODE") @@ -155,4 +155,4 @@ def unregister(): bpy.utils.unregister_class(ARM_UL_PropertyList) bpy.utils.unregister_class(ArmPropertyListNewItem) bpy.utils.unregister_class(ArmPropertyListDeleteItem) - bpy.utils.unregister_class(ArmPropertyListMoveItem) \ No newline at end of file + bpy.utils.unregister_class(ArmPropertyListMoveItem)