summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-10 09:46:16 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-10 09:46:16 +0100
commita27fdd91c4ba25f7d99c8c916fc7b8cdfc8a2f13 (patch)
treedd28520e8cf5cb0ec9fbe3f9ba63e48cfa08b367 /pdf-over-gui/src/main/java/at/asit
parent01f5b6348cdd84ce765b2235e60f309ebe7fac0c (diff)
downloadpdf-over-a27fdd91c4ba25f7d99c8c916fc7b8cdfc8a2f13.tar.gz
pdf-over-a27fdd91c4ba25f7d99c8c916fc7b8cdfc8a2f13.tar.bz2
pdf-over-a27fdd91c4ba25f7d99c8c916fc7b8cdfc8a2f13.zip
Not showing combo fixed
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java23
1 files changed, 6 insertions, 17 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
index b3925775..00df4a99 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
@@ -119,6 +119,7 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
// private final Label lblSignatureProfile;
private final Combo cmbSingatureProfiles;
+
/**
@@ -210,32 +211,21 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
//-----------------------------------------------------------------------
this.grpSignatureProfile = new Group(this, SWT.NONE);
-
FormData fd_grpSingnatureProfile = new FormData();
fd_grpSingnatureProfile.right = new FormAttachment(100, -5);
fd_grpSingnatureProfile.left = new FormAttachment(0, 5);
fd_grpSingnatureProfile.top = new FormAttachment(this.grpHandySignatur, 5);
this.grpSignatureProfile.setLayoutData(fd_grpSingnatureProfile);
- //this.grpSignatureProfile.setLayout(new GridLayout(2, false));
+// this.grpSignatureProfile.setLayout(new GridLayout(2, false));
this.grpSignatureProfile.setText("Signature Profile"); //$NON-NLS-1$
-
-
-// this.lblSignatureProfile = new Label(this.grpSignatureProfile, SWT.NONE);
-//
+ this.grpSignatureProfile.setLayout(new FormLayout());
+
FontData[] fD_grpSignatureProfile = this.grpSignatureProfile.getFont()
.getFontData();
fD_grpSignatureProfile[0].setHeight(Constants.TEXT_SIZE_NORMAL);
this.grpSignatureProfile.setFont(new Font(Display.getCurrent(),
fD_grpSignatureProfile[0]));
- // TODO create text for each language
-// this.lblSignatureProfile.setText("Profile"); //$NON-NLS-1$
-//
-// FontData[] fD_lblSignatureProfile = this.lblSignatureProfile.getFont()
-// .getFontData();
-// fD_lblSignatureProfile[0].setHeight(Constants.TEXT_SIZE_NORMAL);
-// this.lblSignatureProfile.setFont(new Font(Display.getCurrent(),
-// fD_lblSignatureProfile[0]));
this.cmbSingatureProfiles = new Combo(this.grpSignatureProfile, SWT.READ_ONLY);
@@ -246,11 +236,10 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
fd_cmbSingatureProfiles.bottom = new FormAttachment(100, -10);
this.cmbSingatureProfiles.setLayoutData(fd_cmbSingatureProfiles);
-
- FontData[] fD_cmbSignatureProfile = this.grpSignatureProfile.getFont()
+ FontData[] fD_cmbSignatureProfile = this.cmbSingatureProfiles.getFont()
.getFontData();
fD_cmbSignatureProfile[0].setHeight(Constants.TEXT_SIZE_NORMAL);
- this.grpSignatureProfile.setFont(new Font(Display.getCurrent(),
+ this.cmbSingatureProfiles.setFont(new Font(Display.getCurrent(),
fD_cmbSignatureProfile[0]));
String[] profiles = new String[PROFILE.length];