[Bf-extensions-cvs] [8ad9de7c] master: Collection Manager: Improve send_report popup. Task: T69577
Ryan Inch
noreply at git.blender.org
Wed Oct 14 06:32:51 CEST 2020
Commit: 8ad9de7c1e1022dee907ddce78f4c357111fc09e
Author: Ryan Inch
Date: Wed Oct 14 00:30:58 2020 -0400
Branches: master
https://developer.blender.org/rBA8ad9de7c1e1022dee907ddce78f4c357111fc09e
Collection Manager: Improve send_report popup. Task: T69577
Improve the line spacing for the send_report popup.
===================================================================
M object_collection_manager/__init__.py
M object_collection_manager/internals.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list