Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-08-26 09:25:14 -0400
committerLars Vogel2018-08-27 04:57:37 -0400
commitcf5a69a21cf7bce02d3e87ad0f411763a195c574 (patch)
tree72a1498da5ea067704b78423ac2971fad75fb28f
parent3f270399ed45bae35115b9defaed8947b2f18b4b (diff)
downloadeclipse.platform.team-cf5a69a21cf7bce02d3e87ad0f411763a195c574.tar.gz
eclipse.platform.team-cf5a69a21cf7bce02d3e87ad0f411763a195c574.tar.xz
eclipse.platform.team-cf5a69a21cf7bce02d3e87ad0f411763a195c574.zip
Bug 538279 - [Apply patch] wizard uses full screen height
Set a height hint to avoid going full size. Change-Id: I87b5316965509a92f9bc70d4a6a03cc964cc1614 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/InputPatchPage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/InputPatchPage.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/InputPatchPage.java
index 2c1245128..0388ea900 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/InputPatchPage.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/InputPatchPage.java
@@ -529,7 +529,9 @@ public class InputPatchPage extends WizardPage {
fWorkspaceSelectLabel.setText(PatchMessages.InputPatchPage_WorkspaceSelectPatch_text);
fTreeViewer= new TreeViewer(newComp, SWT.BORDER);
- fTreeViewer.getTree().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
+ GridData layoutData = new GridData(SWT.FILL, SWT.FILL, true, true);
+ layoutData.heightHint = 300;
+ fTreeViewer.getTree().setLayoutData(layoutData);
fTreeViewer.setLabelProvider(new WorkbenchLabelProvider());
fTreeViewer.setContentProvider(new WorkbenchContentProvider());

Back to the top