DebuggingTesting.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. using NUnit.Framework;
  2. using QuestPDF.Examples.Engine;
  3. using QuestPDF.Fluent;
  4. using QuestPDF.Helpers;
  5. namespace QuestPDF.Examples
  6. {
  7. public class DebuggingTesting
  8. {
  9. [Test]
  10. public void Stack()
  11. {
  12. RenderingTest
  13. .Create()
  14. .PageSize(500, 360)
  15. .FileName()
  16. .Render(container =>
  17. {
  18. container
  19. .Background(Colors.White)
  20. .Padding(15)
  21. .Grid(grid =>
  22. {
  23. grid.Spacing(15);
  24. grid.Item().Background(Colors.Grey.Medium).Text(Placeholders.LoremIpsum());
  25. grid.Item().DebugPointer("Test").Background(Colors.Grey.Lighten1).Height(1000); // <-- problem
  26. grid.Item().Background(Colors.Grey.Lighten2).Height(150);
  27. });
  28. });
  29. }
  30. }
  31. }