summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:49 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:49 +0000
commit29e8ec9d576dc1ef40542a6f2c1518c865d9792a (patch)
tree970a218666985c0d6d0e7c85598ed956a67ba62d /trunk/pdf-over-gui/src/main/java/at
parent9ca611ae0ea85f93e236fa132d978110bc34cc1e (diff)
downloadpdf-over-29e8ec9d576dc1ef40542a6f2c1518c865d9792a.tar.gz
pdf-over-29e8ec9d576dc1ef40542a6f2c1518c865d9792a.tar.bz2
pdf-over-29e8ec9d576dc1ef40542a6f2c1518c865d9792a.zip
Add label to transparency scale
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12730 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java41
1 files changed, 37 insertions, 4 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
index 1ce3a781..7cc49d18 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
@@ -113,11 +113,44 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
});
log.debug(this.btnAutomatischePositionierung.getBounds().toString());
+ Label lblTransparenz = new Label(grpSignatur, SWT.HORIZONTAL);
+ FormData fd_lblTransparenz = new FormData();
+ fd_lblTransparenz.top = new FormAttachment(this.btnAutomatischePositionierung, 5);
+ fd_lblTransparenz.left = new FormAttachment(0, 5);
+ lblTransparenz.setLayoutData(fd_lblTransparenz);
+ lblTransparenz.setText(Messages.getString("advanced_config.SigPHTransparency")); //$NON-NLS-1$
+
+ FontData[] fD_lblTransparenz = lblTransparenz.getFont().getFontData();
+ fD_lblTransparenz[0].setHeight(TEXT_SIZE_NORMAL);
+ lblTransparenz.setFont(new Font(Display.getCurrent(), fD_lblTransparenz[0]));
+
+ Label lblTransparenzLinks = new Label(grpSignatur, SWT.HORIZONTAL);
+ FormData fd_lblTransparenzLinks = new FormData();
+ fd_lblTransparenzLinks.top = new FormAttachment(lblTransparenz, 5);
+ fd_lblTransparenzLinks.left = new FormAttachment(0, 15);
+ lblTransparenzLinks.setLayoutData(fd_lblTransparenzLinks);
+ lblTransparenzLinks.setText(Messages.getString("advanced_config.SigPHTransparencyMin")); //$NON-NLS-1$
+
+ FontData[] fD_lblTransparenzLinks = lblTransparenzLinks.getFont().getFontData();
+ fD_lblTransparenzLinks[0].setHeight(TEXT_SIZE_NORMAL);
+ lblTransparenzLinks.setFont(new Font(Display.getCurrent(), fD_lblTransparenzLinks[0]));
+
+ Label lblTransparenzRechts = new Label(grpSignatur, SWT.HORIZONTAL);
+ FormData fd_lblTransparenzRechts = new FormData();
+ fd_lblTransparenzRechts.top = new FormAttachment(lblTransparenz, 5);
+ fd_lblTransparenzRechts.right = new FormAttachment(100, -5);
+ lblTransparenzRechts.setLayoutData(fd_lblTransparenzRechts);
+ lblTransparenzRechts.setText(Messages.getString("advanced_config.SigPHTransparencyMax")); //$NON-NLS-1$
+
+ FontData[] fD_lblTransparenzRechts = lblTransparenzRechts.getFont().getFontData();
+ fD_lblTransparenzRechts[0].setHeight(TEXT_SIZE_NORMAL);
+ lblTransparenzRechts.setFont(new Font(Display.getCurrent(), fD_lblTransparenzRechts[0]));
+
this.sclTransparenz = new Scale(grpSignatur, SWT.HORIZONTAL);
FormData fd_sldTransparenz = new FormData();
- fd_sldTransparenz.right = new FormAttachment(100, -5);
- fd_sldTransparenz.top = new FormAttachment(this.btnAutomatischePositionierung, 5);
- fd_sldTransparenz.left = new FormAttachment(0, 5);
+ fd_sldTransparenz.right = new FormAttachment(lblTransparenzRechts, -5);
+ fd_sldTransparenz.top = new FormAttachment(lblTransparenz, 5);
+ fd_sldTransparenz.left = new FormAttachment(lblTransparenzLinks, 5);
this.sclTransparenz.setLayoutData(fd_sldTransparenz);
this.sclTransparenz.setMinimum(0);
this.sclTransparenz.setMaximum(255);
@@ -211,7 +244,7 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
this.txtOutputFolder = new Text(grpSpeicherort, SWT.BORDER);
FormData fd_text = new FormData();
fd_text.top = new FormAttachment(lblDefaultOutputFolder, 5);
- fd_text.left = new FormAttachment(0, 5);
+ fd_text.left = new FormAttachment(0, 15);
this.txtOutputFolder.setLayoutData(fd_text);
FontData[] fD_txtOutputFolder = this.txtOutputFolder.getFont().getFontData();