From 5bd78975dbfce135d35438c092b40427a22adaeb Mon Sep 17 00:00:00 2001 From: ewuerger Date: Fri, 11 Oct 2024 16:21:11 +0200 Subject: [PATCH] fix: Fix center label with children bug --- capellambse_context_diagrams/collectors/default.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/capellambse_context_diagrams/collectors/default.py b/capellambse_context_diagrams/collectors/default.py index 01559e9..a5725db 100644 --- a/capellambse_context_diagrams/collectors/default.py +++ b/capellambse_context_diagrams/collectors/default.py @@ -280,6 +280,9 @@ def _make_owner_box( break else: children.append(obj_box) + for label in parent_box.labels: + label.layoutOptions = makers.DEFAULT_LABEL_LAYOUT_OPTIONS + self.boxes_to_delete.add(obj.uuid) return obj.owner