Fix: the Stack may not show last an element in certain scenarios
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user