Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2014-10-22 10:31:19 +0000
committerVikas Chandra2014-10-22 10:31:19 +0000
commit4cffa3b26bceaf00f1775815dc90ddd9a285158e (patch)
tree9233b057fa9baa8d8bcce7d34760cee9dcac70ce
parentf0ff21953b787415162c6af9feb178bf8193e781 (diff)
downloadeclipse.pde.ui-4cffa3b26bceaf00f1775815dc90ddd9a285158e.tar.gz
eclipse.pde.ui-4cffa3b26bceaf00f1775815dc90ddd9a285158e.tar.xz
eclipse.pde.ui-4cffa3b26bceaf00f1775815dc90ddd9a285158e.zip
Bug 448111 - UI bugs in Tracing preference page
Signed-off-by: Markus Keller <markus_keller@ch.ibm.com>
-rw-r--r--ui/org.eclipse.ui.trace/src/org/eclipse/ui/trace/internal/TracingPreferencePage.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/org.eclipse.ui.trace/src/org/eclipse/ui/trace/internal/TracingPreferencePage.java b/ui/org.eclipse.ui.trace/src/org/eclipse/ui/trace/internal/TracingPreferencePage.java
index 6d80b6e1e3..2e6eb922e8 100644
--- a/ui/org.eclipse.ui.trace/src/org/eclipse/ui/trace/internal/TracingPreferencePage.java
+++ b/ui/org.eclipse.ui.trace/src/org/eclipse/ui/trace/internal/TracingPreferencePage.java
@@ -177,8 +177,7 @@ public class TracingPreferencePage extends PreferencePage implements IWorkbenchP
}
// apply the font to this page
applyDialogFont(pageComposite);
- // set focus on the enablement button
- enableTracingButton.setFocus();
+
PlatformUI.getWorkbench().getHelpSystem().setHelp(pageComposite, IHelpContextIds.TRACING_PREF_PAGE);
return pageComposite;
@@ -308,6 +307,7 @@ public class TracingPreferencePage extends PreferencePage implements IWorkbenchP
standardOutputStreamButton.setSelection(false);
}
});
+ GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(tracingOutputFileButton);
// add the 'tracing file' input field
tracingFileText = new Text(outputComp, SWT.SINGLE | SWT.BORDER);
tracingFileText.addListener(SWT.Verify, new Listener() {
@@ -324,7 +324,7 @@ public class TracingPreferencePage extends PreferencePage implements IWorkbenchP
}
}
});
- GridDataFactory.fillDefaults().grab(true, false).applyTo(tracingFileText);
+ GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).grab(true, false).applyTo(tracingFileText);
// add the 'tracing file' browse button
tracingFileBrowseButton = new Button(outputComp, SWT.PUSH);
tracingFileBrowseButton.setText(Messages.tracingFileBrowseButton);
@@ -340,7 +340,7 @@ public class TracingPreferencePage extends PreferencePage implements IWorkbenchP
}
}
});
- GridDataFactory.fillDefaults().applyTo(tracingFileBrowseButton);
+ setButtonLayoutData(tracingFileBrowseButton);
Composite detailsComp = new Composite(tracingOptionsGroup, SWT.NONE);
GridLayoutFactory.fillDefaults().numColumns(5).equalWidth(false).margins(0, 0).applyTo(detailsComp);

Back to the top