feat: Unterschriftsdatum unter das Unterschriftsfeld verschoben
This commit is contained in:
parent
9ffeb7afe8
commit
8cd8df4b02
@ -52,7 +52,7 @@
|
||||
/**
|
||||
* Date, post code and place text form part
|
||||
*/
|
||||
const date_place_top_shift = 16
|
||||
const date_place_top_shift = 14;
|
||||
//date
|
||||
const id_date = PSPDFKit.generateInstantId()
|
||||
const annotation_date = new PSPDFKit.Annotations.WidgetAnnotation({
|
||||
@ -64,8 +64,8 @@
|
||||
boundingBox: new PSPDFKit.Geometry.Rect({
|
||||
width: width * 1.55,
|
||||
height: height / 2,
|
||||
top: top + height + 25 + date_place_top_shift,
|
||||
left: left + width * 1.30,
|
||||
top: top + height + 25 + date_place_top_shift + (height) + 4,
|
||||
left: left
|
||||
}),
|
||||
fontSize: 8,
|
||||
backgroundColor: PSPDFKit.Color.TRANSPARENT,
|
||||
@ -93,7 +93,7 @@
|
||||
boundingBox: new PSPDFKit.Geometry.Rect({
|
||||
width: width * 1.2,
|
||||
height: height / 2,
|
||||
top: top + height + 25 + date_place_top_shift,
|
||||
top: top + height + 23 + date_place_top_shift,
|
||||
left: left,
|
||||
}),
|
||||
fontSize: 8
|
||||
@ -125,8 +125,8 @@
|
||||
boundingBox: new PSPDFKit.Geometry.Rect({
|
||||
width: width * 0.75,
|
||||
height: height / 2,
|
||||
top: top + height + 25 + label_top_shift + date_place_top_shift,
|
||||
left: left + width * 1.30
|
||||
top: top + height + 23 + label_top_shift + date_place_top_shift + (height) + 4,
|
||||
left: left
|
||||
}),
|
||||
fontSize: 8,
|
||||
backgroundColor: PSPDFKit.Color.TRANSPARENT,
|
||||
@ -327,7 +327,7 @@
|
||||
this.#cityFieldNames.push(formField.name)
|
||||
}
|
||||
|
||||
static isCityField(formField){
|
||||
static isCityField(formField) {
|
||||
return this.#cityFieldNames.includes(formField.name)
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user