Bug 57762 [Dialogs] honor the platform button dismissal alignment on Mac and GTK
Button ordering is inverted on these platforms. See Display.getDismissalAlignment() or the equivalent JFace mechansim.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/OpenResourceDialog.java
setResult(Collections.EMPTY_LIST);
						close();
						super.openEditor(editorDescriptor, openUsingDescriptor);
					}
				};
				Menu menu = new Menu(parent);
				Control c = openComposite;
				Point p = c.getLocation();
				p.y = p.y + c.getSize().y;
				p = c.getParent().toDisplay(p);
				menu.setLocation(p);
				openWithMenu.fill(menu, -1);
				menu.setVisible(true);
			}
		});
		Button cancelButton = createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
		
		GridData cancelLayoutData = (GridData) cancelButton.getLayoutData();
		GridData okLayoutData = (GridData) okButton.getLayoutData();
		int buttonWidth = Math.max(cancelLayoutData.widthHint, okLayoutData.widthHint);
		cancelLayoutData.widthHint = buttonWidth;
		okLayoutData.widthHint = buttonWidth;
		
		if (Util.isCarbon()) {
			
			
			openComposite.moveBelow(null);
			okLayoutData.horizontalIndent = -10;
		}
	}