From d7efa7e9a2249017375799653660d6e3498346b9 Mon Sep 17 00:00:00 2001 From: Dietrich Travkin Date: Mon, 24 Jul 2023 14:56:06 +0200 Subject: [PATCH] Fix qualifier labels' margin calculation (#1467) --- src/net/sourceforge/plantuml/svek/Kal.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/sourceforge/plantuml/svek/Kal.java b/src/net/sourceforge/plantuml/svek/Kal.java index 94df3f10b..05b9426fd 100644 --- a/src/net/sourceforge/plantuml/svek/Kal.java +++ b/src/net/sourceforge/plantuml/svek/Kal.java @@ -83,11 +83,11 @@ public class Kal implements UDrawable { } else if (link.getEntity1() == entity) { this.position = Direction.DOWN; - entity.ensureMargins(new Margins(0, 0, dim.getHeight(), 0)); + entity.ensureMargins(new Margins(0, 0, 0, dim.getHeight())); } else if (link.getEntity2() == entity) { this.position = Direction.UP; - entity.ensureMargins(new Margins(0, 0, 0, dim.getHeight())); + entity.ensureMargins(new Margins(0, 0, dim.getHeight(),0 )); } else { throw new IllegalStateException();