Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Inch <mythologylover75@gmail.com>2020-10-14 07:30:58 +0300
committerRyan Inch <mythologylover75@gmail.com>2020-10-14 07:30:58 +0300
commit8ad9de7c1e1022dee907ddce78f4c357111fc09e (patch)
tree46b0266687adaa78af33feb181307a0c4a76b39c
parent2c9bacef5323acac97f1d1ae2003ddfb56e71930 (diff)
Collection Manager: Improve send_report popup. Task: T69577
Improve the line spacing for the send_report popup.
-rw-r--r--object_collection_manager/__init__.py2
-rw-r--r--object_collection_manager/internals.py9
2 files changed, 6 insertions, 5 deletions
diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py
index 0f155745..b20d1a2d 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 34e66737..ceef1560 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