From 8fde7d3268dd19a3a990159878a24715ca3700d0 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Thu, 27 Jun 2024 22:09:49 +0200 Subject: [PATCH] work on placement --- application/controllers/jobs/OrganigrammTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/controllers/jobs/OrganigrammTest.php b/application/controllers/jobs/OrganigrammTest.php index 2e82c7d32..d26b42e28 100644 --- a/application/controllers/jobs/OrganigrammTest.php +++ b/application/controllers/jobs/OrganigrammTest.php @@ -180,6 +180,10 @@ FOOTER; 'max' => $this->xoffsetperlevel[$level]->max + $width + $spacing ); } + else + { + $this->xoffsetperlevel[$nextlevel]->max = ($this->xoffsetperlevel[$level]->max + $width + $spacing); + } } if( count($oe->childs) > 0 && count($oe->childs) === $ownchildcount )