Fix: the Stack may not show last an element in certain scenarios

This commit is contained in:
Marcin Ziąbek
2021-08-27 01:38:10 +02:00
parent c938ea32b0
commit e3e7a22af8
+1 -1
View File
@@ -74,7 +74,7 @@ namespace QuestPDF.Elements
return;
var firstHeight = firstSize?.Height ?? 0;
var spaceForSecond = new Size(availableSpace.Width, availableSpace.Height - firstHeight);
var spaceForSecond = new Size(availableSpace.Width, availableSpace.Height - firstHeight + Size.Epsilon);
var secondMeasurement = Second?.Measure(spaceForSecond) as Size;
if (secondMeasurement == null)