Browse Source

2022.1.0-beta6

Marcin Ziąbek 3 years ago
parent
commit
c9833d410d

+ 3 - 3
QuestPDF.Examples/RowExamples.cs

@@ -38,9 +38,9 @@ namespace QuestPDF.Examples
                             {
                                 row.ConstantColumn(100).ValueCell("100px");
                                 row.ConstantColumn(50).ValueCell("50px");
-                                row.Column(constantWidth: 100, relativeWidth: 4).ValueCell("350px");
-                                row.RelativeColumn(2).ValueCell("100px");
-                                row.RelativeColumn(1).ValueCell("50px");
+                                row.RelativeColumn(3).ValueCell("300px");
+                                row.RelativeColumn(1).ValueCell("100px");
+                                row.ConstantColumn(50).ValueCell("50px");
                             });
                         });
                 });

+ 1 - 1
QuestPDF/Fluent/RowExtensions.cs

@@ -23,7 +23,7 @@ namespace QuestPDF.Fluent
             return Column(relativeWidth: width);
         }
         
-        public IContainer Column(float constantWidth = 0, float relativeWidth = 0)
+        private IContainer Column(float constantWidth = 0, float relativeWidth = 0)
         {
             var element = new RowElement(constantWidth, relativeWidth);
             

+ 1 - 1
QuestPDF/QuestPDF.csproj

@@ -4,7 +4,7 @@
         <Authors>MarcinZiabek</Authors>
         <Company>CodeFlint</Company>
         <PackageId>QuestPDF</PackageId>
-        <Version>2022.1.0-beta5</Version>
+        <Version>2022.1.0-beta6</Version>
         <PackageDescription>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.</PackageDescription>
         <PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/Resources/ReleaseNotes.txt"))</PackageReleaseNotes>
         <LangVersion>9</LangVersion>

+ 0 - 1
QuestPDF/Resources/ReleaseNotes.txt

@@ -3,5 +3,4 @@
 Other changes:
 - Added new element `DefaultTextStyle` - it allows set new text style to all its children,
 - Improved the default paging behavior for the `Row` element. In some minor corner cases it might cause infinite layout exceptions and confuse developers.
-- Improved the `Row` element: added new type of column that combines constant and relative widths.
 - Fixed default page sizes for: Letter and Legal.