From f294a5abda6947a2edd7eb502ca340ac6c02f68f Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:57:24 +0000 Subject: Minor GUI changes to MainBar Buttons git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@56 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../gui/composites/DataSourceSelectComposite.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java index 70e5b514..afa7be3e 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/DataSourceSelectComposite.java @@ -241,22 +241,6 @@ public class DataSourceSelectComposite extends StateComposite { this.fd_btn_open.bottom = new FormAttachment(100, -5); btn_open.setLayoutData(this.fd_btn_open); - lbl_drag.addListener(SWT.Resize, new Listener() { - - @Override - public void handleEvent(Event event) { - /*Point size = btn_open.computeSize(SWT.DEFAULT, SWT.DEFAULT); - DataSourceSelectComposite.this.fd_btn_open.top = new FormAttachment( - 50, (lbl_drag.getSize().x / 2) + 10); - DataSourceSelectComposite.this.fd_btn_open.left = new FormAttachment( - 50, -1 * (size.x / 2)); - DataSourceSelectComposite.this.fd_btn_open.right = new FormAttachment( - 50, (size.x / 2)); - DataSourceSelectComposite.this.fd_btn_open.bottom = new FormAttachment( - 50, (size.y / 2) + (lbl_drag.getSize().x) + 10);*/ - } - }); - // btn_open.setBackground(back); btn_open.addSelectionListener(new FileBrowseDialogListener()); this.drop_area.pack(); -- cgit v1.2.3