Example report fixes

This commit is contained in:
Marcin Ziąbek
2021-08-27 11:40:33 +02:00
parent d9b3f016e8
commit 4e6415aee2
11 changed files with 22 additions and 74 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ namespace QuestPDF.Examples
text.Span(Placeholders.LoremIpsum(), TextStyle.Default.Size(12));
text.Span("Before element - ");
text.Element().PaddingBottom(-10).Background(Colors.Red.Lighten4).Width(50).Height(20);
text.Element().PaddingBottom(-10).Background(Colors.Red.Lighten4).Height(20).PaddingHorizontal(5).AlignMiddle().Text("Text inside text", TextStyle.Default.Size(8));
text.Span(" - end of element.");
text.NewLine();