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
@@ -295,7 +295,7 @@ namespace QuestPDF.Examples
layers
.Layer()
.AlignBottom()
.PageNumber("Page {pdf:currentPage}", TextStyle.Default.Size(16).Color(Colors.Green.Medium));
.Text(text => text.CurrentPageNumber(TextStyle.Default.Size(16).Color(Colors.Green.Medium)));
});
});
}
+2 -2
View File
@@ -143,8 +143,8 @@ namespace QuestPDF.Examples
.AlignBottom()
.Stack(stack =>
{
stack.Item().Debug().Text("Quo Vadis", TextStyle.Default.Size(72).Bold().Color(Colors.Blue.Darken2));
stack.Item().Debug().Text("Henryk Sienkiewicz", TextStyle.Default.Size(24).Color(Colors.Grey.Darken2));
stack.Item().Text("Quo Vadis", TextStyle.Default.Size(72).Bold().Color(Colors.Blue.Darken2));
stack.Item().Text("Henryk Sienkiewicz", TextStyle.Default.Size(24).Color(Colors.Grey.Darken2));
});
}
+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();
+1 -1
View File
@@ -4,7 +4,7 @@
Attempts:
```angular2html
```
Attempt 0: 18389,00
Attempt 1: 18627,00
Attempt 2: 19745,00