feat: Anordnung der Annotationen für Unterschrift, Stadt und Datum

This commit is contained in:
Developer 02 2024-09-18 00:10:16 +02:00
parent ce0ad4ba61
commit 2d5dde177c

View File

@ -52,7 +52,7 @@
/**
* Date, post code and place text form part
*/
const date_place_top_shift = 14;
const date_place_top_shift = 9.5;
//date
const id_date = PSPDFKit.generateInstantId()
const annotation_date = new PSPDFKit.Annotations.WidgetAnnotation({
@ -64,7 +64,7 @@
boundingBox: new PSPDFKit.Geometry.Rect({
width: width * 1.55,
height: height / 2,
top: top + height + 25 + date_place_top_shift + (height) + 4,
top: top + height + 25 + date_place_top_shift + (height),
left: left
}),
fontSize: 8,
@ -93,7 +93,7 @@
boundingBox: new PSPDFKit.Geometry.Rect({
width: width * 1.2,
height: height / 2,
top: top + height + 23 + date_place_top_shift,
top: top + height + 23 + date_place_top_shift + 2,
left: left,
}),
fontSize: 8