Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Dykstal2007-05-22 23:54:33 +0000
committerDavid Dykstal2007-05-22 23:54:33 +0000
commit2bac427bcd972a6453c40371337702062405c4f7 (patch)
tree4e87e8d0008b5dc96c3ec3987dbb27fca5ca392c
parent73ec321c8c02ea090edc676010dd82c0603b56dc (diff)
downloadorg.eclipse.tm-2bac427bcd972a6453c40371337702062405c4f7.tar.gz
org.eclipse.tm-2bac427bcd972a6453c40371337702062405c4f7.tar.xz
org.eclipse.tm-2bac427bcd972a6453c40371337702062405c4f7.zip
[188159] corrected some layout problems
-rw-r--r--rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemUploadConflictAction.java13
1 files changed, 5 insertions, 8 deletions
diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemUploadConflictAction.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemUploadConflictAction.java
index a4b1fd0cf..98338c5d0 100644
--- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemUploadConflictAction.java
+++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/actions/SystemUploadConflictAction.java
@@ -297,21 +297,18 @@ public class SystemUploadConflictAction extends SystemBaseAction implements Runn
GridLayout mlayout = new GridLayout();
mlayout.numColumns = 2;
m.setLayout(mlayout);
- m.setLayoutData(new GridData(GridData.FILL_BOTH));
+ m.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false));
- Label label = new Label(m, 0);
+ Label label = new Label(m, SWT.NONE);
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(FileResources.RESID_CONFLICT_SAVE_MESSAGE);
-
- GridData textData = new GridData(GridData.FILL_BOTH);
- textData.widthHint = 100;
- textData.horizontalSpan = 2;
- textData.verticalSpan = 5;
+ GridData textData = new GridData(SWT.FILL, SWT.CENTER, true, false);
+ text.setLayoutData(textData);
Composite options = new Composite(c, SWT.NONE);
GridLayout olayout = new GridLayout();

Back to the top