|
|
@@ -19,7 +19,7 @@ namespace QuestPDF.Elements
|
|
|
public float MarginTop { get; set; }
|
|
|
public float MarginBottom { get; set; }
|
|
|
|
|
|
- public string BackgroundColor { get; set; } = Colors.Transparent;
|
|
|
+ public string BackgroundColor { get; set; } = Colors.White;
|
|
|
|
|
|
public Element Background { get; set; } = Empty.Instance;
|
|
|
public Element Foreground { get; set; } = Empty.Instance;
|
|
|
@@ -33,6 +33,7 @@ namespace QuestPDF.Elements
|
|
|
container
|
|
|
.ContentDirection(ContentDirection)
|
|
|
.Background(BackgroundColor)
|
|
|
+ .DefaultTextStyle(DefaultTextStyle)
|
|
|
.Layers(layers =>
|
|
|
{
|
|
|
layers
|
|
|
@@ -53,8 +54,6 @@ namespace QuestPDF.Elements
|
|
|
.PaddingTop(MarginTop)
|
|
|
.PaddingBottom(MarginBottom)
|
|
|
|
|
|
- .DefaultTextStyle(DefaultTextStyle)
|
|
|
-
|
|
|
.Decoration(decoration =>
|
|
|
{
|
|
|
decoration
|