fix: Ort und Datum Informationen wurden horizontal ausgerichtet.

This commit is contained in:
Developer 02 2024-07-17 14:11:20 +02:00
parent caeaf1774e
commit f94728bf67

View File

@ -65,7 +65,7 @@
width: width * 0.75, width: width * 0.75,
height: height / 2, height: height / 2,
top: top + height + 25 + date_place_top_shift, top: top + height + 25 + date_place_top_shift,
left: left - width * .25 + width * 1.30, left: left + width * 1.30,
}), }),
fontSize: 8, fontSize: 8,
backgroundColor: PSPDFKit.Color.TRANSPARENT, backgroundColor: PSPDFKit.Color.TRANSPARENT,
@ -94,7 +94,7 @@
width: width * 1.2, width: width * 1.2,
height: height / 2, height: height / 2,
top: top + height + 25 + date_place_top_shift, top: top + height + 25 + date_place_top_shift,
left: left - width * .25, left: left,
}), }),
fontSize: 8 fontSize: 8
}) })
@ -102,7 +102,7 @@
const formFieldCity = new PSPDFKit.FormFields.TextFormField({ const formFieldCity = new PSPDFKit.FormFields.TextFormField({
name: id_city, name: id_city,
annotationIds: PSPDFKit.Immutable.List([annotation_city.id]), annotationIds: PSPDFKit.Immutable.List([annotation_city.id]),
value: location.city, value: isMobile() ? location.city : "",
readOnly: isMobile() readOnly: isMobile()
}) })
@ -122,7 +122,7 @@
width: width * 0.75, width: width * 0.75,
height: height / 2, height: height / 2,
top: top + height + 25 + label_top_shift + date_place_top_shift, top: top + height + 25 + label_top_shift + date_place_top_shift,
left: left - width * .25 + width * 1.30 left: left + width * 1.30
}), }),
fontSize: 8, fontSize: 8,
backgroundColor: PSPDFKit.Color.TRANSPARENT, backgroundColor: PSPDFKit.Color.TRANSPARENT,
@ -149,7 +149,7 @@
width: width * 1.2, width: width * 1.2,
height: height / 2, height: height / 2,
top: top + height + 25 + label_top_shift + date_place_top_shift, top: top + height + 25 + label_top_shift + date_place_top_shift,
left: left - width * .25 left: left
}), }),
fontSize: 8, fontSize: 8,
backgroundColor: PSPDFKit.Color.TRANSPARENT, backgroundColor: PSPDFKit.Color.TRANSPARENT,