DebuggingTesting.cs 998 B

1234567891011121314151617181920212223242526272829303132
  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. .Render(container =>
  16. {
  17. container
  18. .Background(Colors.White)
  19. .Padding(15)
  20. .Grid(grid =>
  21. {
  22. grid.Spacing(15);
  23. grid.Item().Background(Colors.Grey.Medium).Text(Placeholders.LoremIpsum());
  24. grid.Item().DebugPointer("Test").Background(Colors.Grey.Lighten1).Height(1000); // <-- problem
  25. grid.Item().Background(Colors.Grey.Lighten2).Height(150);
  26. });
  27. });
  28. }
  29. }
  30. }