diff --git a/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor b/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor index d42538ba..3edb806e 100644 --- a/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor +++ b/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor @@ -503,8 +503,8 @@ int _lastOverlayViewerKey = -1; float labelY = imageY + sigImgHeight + innerGap; var signatureInformation = string.IsNullOrWhiteSpace(signerPosition) - ? $"Empfaengerunterschrift\n{signerFullName}\n{signaturePlace}, {DateTime.Now:d}" - : $"Empfaengerunterschrift\n{signerFullName}\n{signerPosition}\n{signaturePlace}, {DateTime.Now:d}"; + ? $"{signerFullName}\n{signaturePlace}, {DateTime.Now:d}" + : $"{signerFullName}\n{signerPosition}\n{signaturePlace}, {DateTime.Now:d}"; var signature = new XRPictureBox { Name = "receiverSignatureImage", @@ -554,7 +554,7 @@ int _lastOverlayViewerKey = -1; const float sigWidth = 230F; const float sigImgHeight = 70F; - const float infoHeight = 65F; + const float infoHeight = 48.75F; const float innerGap = 5F; const float bottomPad = 6F; const float defaultTopPad = 8F; @@ -568,8 +568,8 @@ int _lastOverlayViewerKey = -1; float labelY = imageY + sigImgHeight + innerGap; var signatureInformation = string.IsNullOrWhiteSpace(signerPosition) - ? $"Empfaengerunterschrift\n{signerFullName}\n{signaturePlace}, {DateTime.Now:d}" - : $"Empfaengerunterschrift\n{signerFullName}\n{signerPosition}\n{signaturePlace}, {DateTime.Now:d}"; + ? $"{signerFullName}\n{signaturePlace}, {DateTime.Now:d}" + : $"{signerFullName}\n{signerPosition}\n{signaturePlace}, {DateTime.Now:d}"; var signature = new XRPictureBox { Name = $"receiverSignatureImage_{annotId}", @@ -577,17 +577,19 @@ int _lastOverlayViewerKey = -1; BoundsF = new RectangleF(sigX, imageY, sigWidth, sigImgHeight), Sizing = ImageSizeMode.ZoomImage, Borders = BorderSide.Bottom, - BorderColor = System.Drawing.Color.FromArgb(73, 80, 87) + BorderColor = System.Drawing.Color.FromArgb(73, 80, 87), + BackColor = Color.FromArgb(219, 219, 219), }; var signatureLabel = new XRLabel { Name = $"receiverSignatureLabel_{annotId}", Text = signatureInformation, Multiline = true, - BoundsF = new RectangleF(sigX, labelY, sigWidth, infoHeight), + BoundsF = new RectangleF(sigX, labelY - 5, sigWidth, infoHeight), Font = new DXFont("Open Sans", 8F, DXFontStyle.Regular), ForeColor = System.Drawing.Color.FromArgb(73, 80, 87), - TextAlignment = TextAlignment.TopLeft + TextAlignment = TextAlignment.TopCenter, + BackColor = Color.FromArgb(219, 219, 219) }; bottomMargin.Controls.AddRange(new XRControl[] { signature, signatureLabel });