From 712ecaaf1474b949f8a66a250d53bb35110b1006 Mon Sep 17 00:00:00 2001 From: David Dykstal Date: Wed, 30 May 2007 16:20:59 +0000 Subject: [PATCH] [188159] minor layout changes in Local Changes Pending dialog to allow message to not be truncated. --- .../files/ui/actions/SystemDownloadConflictAction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java index d81af9b6657..a9afed2e5af 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemDownloadConflictAction.java @@ -110,11 +110,12 @@ public class SystemDownloadConflictAction extends SystemBaseAction implements Ru Label label = new Label(m, 0); image.setBackground(label.getBackground()); label.setImage(image); - label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_CENTER | GridData.VERTICAL_ALIGN_BEGINNING)); + label.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, false)); Text text = new Text(m, SWT.WRAP | SWT.MULTI); text.setEditable(false); text.setText(_dialogText); + text.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); Composite options = new Composite(c, SWT.NONE); GridLayout olayout = new GridLayout();