From 8ad9de7c1e1022dee907ddce78f4c357111fc09e Mon Sep 17 00:00:00 2001
From: Ryan Inch <mythologylover75@gmail.com>
Date: Wed, 14 Oct 2020 00:30:58 -0400
Subject: [PATCH] Collection Manager: Improve send_report popup. Task: T69577

Improve the line spacing for the send_report popup.
---
 object_collection_manager/__init__.py  | 2 +-
 object_collection_manager/internals.py | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py
index 0f1557454..b20d1a2d0 100644
--- a/object_collection_manager/__init__.py
+++ b/object_collection_manager/__init__.py
@@ -22,7 +22,7 @@ bl_info = {
     "name": "Collection Manager",
     "description": "Manage collections and their objects",
     "author": "Ryan Inch",
-    "version": (2, 15, 2),
+    "version": (2, 15, 3),
     "blender": (2, 80, 0),
     "location": "View3D - Object Mode (Shortcut - M)",
     "warning": '',  # used for warning icon and text in addons panel
diff --git a/object_collection_manager/internals.py b/object_collection_manager/internals.py
index 34e66737c..ceef1560b 100644
--- a/object_collection_manager/internals.py
+++ b/object_collection_manager/internals.py
@@ -670,6 +670,7 @@ class CMSendReport(Operator):
 
     def draw(self, context):
         layout = self.layout
+        col = layout.column(align=True)
 
         first = True
         string = ""
@@ -677,10 +678,10 @@ class CMSendReport(Operator):
         for num, char in enumerate(self.message):
             if char == "\n":
                 if first:
-                    layout.row().label(text=string, icon='ERROR')
+                    col.row(align=True).label(text=string, icon='ERROR')
                     first = False
                 else:
-                    layout.row().label(text=string, icon='BLANK1')
+                    col.row(align=True).label(text=string, icon='BLANK1')
 
                 string = ""
                 continue
@@ -688,9 +689,9 @@ class CMSendReport(Operator):
             string = string + char
 
         if first:
-            layout.row().label(text=string, icon='ERROR')
+            col.row(align=True).label(text=string, icon='ERROR')
         else:
-            layout.row().label(text=string, icon='BLANK1')
+            col.row(align=True).label(text=string, icon='BLANK1')
 
     def invoke(self, context, event):
         wm = context.window_manager
-- 
GitLab