if (openComposite.getDisplay().getDismissalAlignment() == SWT.RIGHT) {
// Make the default button the right-most button.
// See also special code in
// org.eclipse.jface.dialogs.Dialog#initializeBounds()
openComposite.moveBelow(null);
if (Util.isCarbon()) {
okLayoutData.horizontalIndent = -10;
}
}
}