From 4cd05455247417180fc6b94fc9c87b32bebc82a7 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:06:56 +0000 Subject: Move save/cancel buttons right git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@138 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java index a26f07ce..b746678d 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java @@ -213,7 +213,7 @@ public class ConfigurationComposite extends StateComposite { Button btnSpeichern = new Button(this, SWT.NONE); FormData fd_btnSpeichern = new FormData(); - fd_btnSpeichern.left = new FormAttachment(0, 5); + fd_btnSpeichern.right = new FormAttachment(100, -10); fd_btnSpeichern.bottom = new FormAttachment(100, -5); btnSpeichern.setLayoutData(fd_btnSpeichern); btnSpeichern.addSelectionListener(new SelectionAdapter() { @@ -233,7 +233,7 @@ public class ConfigurationComposite extends StateComposite { Button btnAbbrechen = new Button(this, SWT.NONE); FormData fd_btnAbrechen = new FormData(); - fd_btnAbrechen.left = new FormAttachment(btnSpeichern, 10); + fd_btnAbrechen.right = new FormAttachment(btnSpeichern, -10); fd_btnAbrechen.bottom = new FormAttachment(100, -5); btnAbbrechen.setLayoutData(fd_btnAbrechen); btnAbbrechen.setText(Messages.getString("common.Cancel")); //$NON-NLS-1$ -- cgit v1.2.3