Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Webster2013-10-08 14:04:17 +0000
committerPaul Webster2013-10-08 14:04:17 +0000
commit045aaed115c36464369b61197b8d619970c106f9 (patch)
tree5fe197b491d2152f8981ab700374ec85d2ff61bb
parentcc58f7512baa46a5c2395d64cc7959ddfb207fb8 (diff)
downloadeclipse.platform.ui-045aaed115c36464369b61197b8d619970c106f9.tar.gz
eclipse.platform.ui-045aaed115c36464369b61197b8d619970c106f9.tar.xz
eclipse.platform.ui-045aaed115c36464369b61197b8d619970c106f9.zip
Bug 19462 - [Wizards] WizardDialog always reserves space for progressbar
exclude the progress monitor from layout
-rw-r--r--bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
index 3c57f4c2547..5db2d6c3c11 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
@@ -638,6 +638,9 @@ public class WizardDialog extends TitleAreaDialog implements IWizardContainer2,
// Insert a progress monitor
progressMonitorPart= createProgressMonitorPart(composite, new GridLayout());
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
+ if (!wizard.needsProgressMonitor()) {
+ gridData.exclude = true;
+ }
progressMonitorPart.setLayoutData(gridData);
progressMonitorPart.setVisible(false);
// Build the separator line

Back to the top