Bug 25419 [Dialogs] Can't Maximize Window: "Preferences"
Build: 200210181211 The "Preferences" window cannot be maximized since it neither has a maximize title bar button nor does the title bar respond to being double-clicked. The only work around is to reside the window manually by dragging the border. For short-lived windows this is too detail-oriented and time-consuming.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
public void layout(Composite composite, boolean force) {
			Rectangle rect = composite.getClientArea();
			Control [] children = composite.getChildren();
			for (int i= 0; i < children.length; i++) {
				children[i].setSize(rect.width, rect.height);
			}
		}
		public Point computeSize(Composite composite, int wHint, int hHint, boolean force) {
			if (wHint != SWT.DEFAULT && hHint != SWT.DEFAULT)
				return new Point(wHint, hHint);
			int x= minimumPageSize.x;
			int y= minimumPageSize.y;
			
			Control[] children= composite.getChildren();
			for (int i= 0; i < children.length; i++) {
				Point size= children[i].computeSize(SWT.DEFAULT, SWT.DEFAULT, force);
				x= Math.max(x, size.x);
				y= Math.max(y, size.y);
			}				
			if (wHint != SWT.DEFAULT) x = wHint;
			if (hHint != SWT.DEFAULT) y = hHint;
			return new Point(x, y);