diff options
-rw-r--r-- | object_collection_manager/__init__.py | 2 | ||||
-rw-r--r-- | object_collection_manager/ui.py | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py index f5ff542e..91063cc0 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, 7, 15), + "version": (2, 7, 16), "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/ui.py b/object_collection_manager/ui.py index 46d27e77..9fe483a7 100644 --- a/object_collection_manager/ui.py +++ b/object_collection_manager/ui.py @@ -380,11 +380,15 @@ class CollectionManager(Operator): min_width = 456 row_indent_width = 15 width_step = 21 + qcd_width = 30 scrollbar_width = 21 lvl = get_max_lvl() width = min_width + row_indent_width + (width_step * lvl) + if bpy.context.preferences.addons[__package__].preferences.enable_qcd: + width += qcd_width + if len(layer_collections) > 14: width += scrollbar_width |