Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 61592 Details for
Bug 19462
[Wizards] WizardDialog always reserves space for progressbar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch to roll back changes
19462.txt (text/plain), 1.87 KB, created by
Tod Creasey
on 2007-03-21 15:08:55 EDT
(
hide
)
Description:
Patch to roll back changes
Filename:
MIME Type:
Creator:
Tod Creasey
Created:
2007-03-21 15:08:55 EDT
Size:
1.87 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jface >Index: src/org/eclipse/jface/wizard/WizardDialog.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java,v >retrieving revision 1.59 >diff -u -r1.59 WizardDialog.java >--- src/org/eclipse/jface/wizard/WizardDialog.java 15 Mar 2007 15:40:52 -0000 1.59 >+++ src/org/eclipse/jface/wizard/WizardDialog.java 21 Mar 2007 19:08:34 -0000 >@@ -529,8 +529,6 @@ > pmlayout.numColumns = 1; > progressMonitorPart = createProgressMonitorPart(composite, pmlayout); > GridData gridData = new GridData(GridData.FILL_HORIZONTAL); >- gridData.widthHint = 0; >- gridData.heightHint = 0; > progressMonitorPart > .setLayoutData(gridData); > progressMonitorPart.setVisible(false); >@@ -1160,24 +1158,6 @@ > // Update the buttons > updateButtons(); > >- // progress monitor required for this wizard - resize dialog >- if (wizard.needsProgressMonitor()){ >- GridData data = (GridData)progressMonitorPart.getLayoutData(); >- data.widthHint = SWT.DEFAULT; >- data.heightHint = SWT.DEFAULT; >- Shell shell = getShell(); >- if (shell != null){ >- // ensure the wizard does not shrink upon resize >- Point currentSize = shell.getSize(); >- Point newSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT); >- // only adjust height for progress bar, adjusting the width will resize >- // the wizard too wide when there is a long wizard description. >- int height = Math.max(currentSize.y, newSize.y); >- setShellSize(currentSize.x, height); >- progressMonitorPart.getParent().layout(true); >- } >- } >- > // Fires the page change event > firePageChanged(new PageChangedEvent(this, getCurrentPage())); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19462
: 61592