From 1e98d351cea2b9df373916a3bb25d0d4ba6c94ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Wed, 7 Aug 2024 18:34:22 +0200 Subject: [PATCH] v0.0.499 --- goextVersion.go | 4 ++-- wpdf/wpdfCell.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index c4898c5..4e96f74 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.498" +const GoextVersion = "0.0.499" -const GoextVersionTimestamp = "2024-08-07T17:26:35+0200" +const GoextVersionTimestamp = "2024-08-07T18:34:22+0200" diff --git a/wpdf/wpdfCell.go b/wpdf/wpdfCell.go index cf2d806..e6a8074 100644 --- a/wpdf/wpdfCell.go +++ b/wpdf/wpdfCell.go @@ -293,7 +293,7 @@ func (b *WPDFBuilder) Cell(txt string, opts ...*PDFCellOpt) { } else if ln == BreakToRight { b.Rect(b.GetX()-xBefore, *height, RectOutline, NewPDFRectOpt().X(xBefore).Y(yBefore).LineWidth(0.25).DrawColor(0, 128, 0)) } else if ln == BreakToBelow { - b.Rect(b.GetPageWidth(), *height, RectOutline, NewPDFRectOpt().X(xBefore).Y(yBefore).LineWidth(0.25).DrawColor(0, 128, 0)) + b.Rect(b.GetPageWidth()-xBefore-b.GetMarginRight(), *height, RectOutline, NewPDFRectOpt().X(xBefore).Y(yBefore).LineWidth(0.25).DrawColor(0, 128, 0)) } }