From 12518386cefe7762a9b080ff94fc46539ec929e1 Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Mon, 17 Feb 2020 16:09:06 +0100 Subject: configuration container and implementation fixed --- .../gui/composites/AdvancedConfigurationComposite.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java index 35cafabf..0a1f0715 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java @@ -271,6 +271,11 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite { fd_grpPlaceholder.right = new FormAttachment(100, -5); fd_grpPlaceholder.left = new FormAttachment(0, 5); this.grpPlaceholder.setLayoutData(fd_grpPlaceholder); + + FontData[] fD_grpPlaceholder = this.grpPlaceholder.getFont().getFontData(); + fD_grpPlaceholder[0].setHeight(Constants.TEXT_SIZE_NORMAL); + this.grpPlaceholder.setFont(new Font(Display.getCurrent(), + fD_grpPlaceholder[0])); this.btnPlatzhalterVerwenden = new Button(this.grpPlaceholder, SWT.RADIO); FormData fd_btnPlatzhalterVerwenden = new FormData(); @@ -896,7 +901,12 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite { void performUseMarkerSelection(boolean useMarker) { this.configurationContainer.setUseMarker(useMarker); - this.btnPlatzhalterVerwenden.setSelection(useMarker); + //this.btnPlatzhalterVerwenden.setSelection(useMarker); + } + + void performUseSignatureFieldsSelection(boolean useFields) { + this.configurationContainer.setUseSignatureFields(useFields); + //this.btnPlatzhalterVerwenden.setSelection(useMarker); } void performPdfACompatSelection(boolean compat) { -- cgit v1.2.3