diff --git a/QuestPDF.ReportSample/Layouts/StandardReport.cs b/QuestPDF.ReportSample/Layouts/StandardReport.cs index 119ba2c..25fac2a 100644 --- a/QuestPDF.ReportSample/Layouts/StandardReport.cs +++ b/QuestPDF.ReportSample/Layouts/StandardReport.cs @@ -55,7 +55,7 @@ namespace QuestPDF.ReportSample.Layouts row.Spacing(50); row.RelativeColumn().PaddingTop(-10).Text(Model.Title, Typography.Title); - row.ConstantColumn(150).ExternalLink("https://www.questpdf.com").Background(Colors.Grey.Lighten3); + row.ConstantColumn(90).ExternalLink("https://www.questpdf.com").MaxHeight(30).Component(); }); stack.Item().ShowOnce().PaddingVertical(15).Border(1f).BorderColor(Colors.Grey.Lighten1).ExtendHorizontal(); diff --git a/QuestPDF.ReportSample/Tests.cs b/QuestPDF.ReportSample/Tests.cs index ccbc781..6983880 100644 --- a/QuestPDF.ReportSample/Tests.cs +++ b/QuestPDF.ReportSample/Tests.cs @@ -17,12 +17,8 @@ namespace QuestPDF.ReportSample [SetUp] public void SetUp() { - ImagePlaceholder.Solid = true; - var model = DataSource.GetReport(); Report = new StandardReport(model); - - ImagePlaceholder.Solid = true; } [Test] @@ -37,6 +33,8 @@ namespace QuestPDF.ReportSample [Test] public void Profile() { + ImagePlaceholder.Solid = true; + var container = new DocumentContainer(); Report.Compose(container); var content = container.Compose(); diff --git a/QuestPDF/QuestPDF.csproj b/QuestPDF/QuestPDF.csproj index 9019a0c..a6c16f7 100644 --- a/QuestPDF/QuestPDF.csproj +++ b/QuestPDF/QuestPDF.csproj @@ -4,7 +4,7 @@ MarcinZiabek CodeFlint QuestPDF - 2021.11.0-beta3 + 2021.11.0 QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API. Implemented new elements: SkipOnce and Inlined. Added possibility to define global, page-wide test style. Improved exception handling experience. 8