UnevenHeightBox: Use lid and bottom_egde for height calculation

when "outside" is set
This commit is contained in:
Florian Festi 2019-09-01 15:46:38 +02:00
parent 657b978aa0
commit b124c96c63
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ class UnevenHeightBox(Boxes):
x = self.adjustSize(x)
y = self.adjustSize(y)
for i in range(4):
heights[i] = self.adjustSize(heights[i], None)
heights[i] = self.adjustSize(heights[i], self.bottom_edge,
self.lid)
t = self.thickness
h0, h1, h2, h3 = heights