From 83b5363bc81ca02ba6e68147f6eb788b93d400dc Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Mon, 4 Nov 2019 17:05:18 +0100 Subject: [PATCH] StackableEdge: Fix margin for upper (S) variant --- boxes/edges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/edges.py b/boxes/edges.py index 3e8ace4..28760c9 100644 --- a/boxes/edges.py +++ b/boxes/edges.py @@ -826,7 +826,7 @@ class StackableEdge(BaseEdge): return self._height() if self.bottom else 0 def margin(self): - return 0 if self.bottom else self._height() + return 0 if self.bottom else self.settings.height class StackableEdgeTop(StackableEdge):