added possibility setting large and small font for titled borders and separators

This commit is contained in:
Evgeny Zakrevsky
2011-08-11 20:17:38 +04:00
parent 5417a08b93
commit a8970783b4
76 changed files with 173 additions and 134 deletions
@@ -135,7 +135,7 @@ public class DebuggerDataViewsConfigurable implements SearchableConfigurable {
tooltipLabel.setLabelFor(myValueTooltipDelayField);
final JPanel showPanel = new JPanel(new GridBagLayout());
showPanel.setBorder(IdeBorderFactory.createTitledBorder("Show", false, true));
showPanel.setBorder(IdeBorderFactory.createTitledBorder("Show", false, true, true));
showPanel.add(myCbShowDeclaredType, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 0, 0, 0), 0, 0));
showPanel.add(myCbShowObjectId, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 0, 0, 0), 0, 0));
@@ -150,7 +150,7 @@ public class DebuggerDataViewsConfigurable implements SearchableConfigurable {
arraysComponent.setBorder(BorderFactory.createEmptyBorder(0, 0, 4, 0));
arraysPanel.add(arraysComponent, BorderLayout.CENTER);
arraysPanel.add(myCbHideNullArrayElements, BorderLayout.SOUTH);
arraysPanel.setBorder(IdeBorderFactory.createTitledBorder("Arrays", false, true));
arraysPanel.setBorder(IdeBorderFactory.createTitledBorder("Arrays", false, true, true));
panel.add(arraysPanel, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 3, 1, 1.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(4, 6, 0, 0), 0, 0));
panel.add(myCbEnableAlternateViews, new GridBagConstraints(0, GridBagConstraints.RELATIVE, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(10, 6, 0, 10), 0, 0));
@@ -57,13 +57,13 @@ public class EditClassFiltersDialog extends DialogWrapper {
myClassFilterEditor = new ClassFilterEditor(myProject, myChooserFilter);
myClassFilterEditor.setPreferredSize(new Dimension(400, 200));
myClassFilterEditor.setBorder(IdeBorderFactory.createTitledBorder(
DebuggerBundle.message("class.filters.dialog.inclusion.filters.group"), false, true));
DebuggerBundle.message("class.filters.dialog.inclusion.filters.group"), false, true, true));
mainPanel.add(myClassFilterEditor);
myClassExclusionFilterEditor = new ClassFilterEditor(myProject, myChooserFilter);
myClassExclusionFilterEditor.setPreferredSize(new Dimension(400, 200));
myClassExclusionFilterEditor.setBorder(IdeBorderFactory.createTitledBorder(
DebuggerBundle.message("class.filters.dialog.exclusion.filters.group"), false, true));
DebuggerBundle.message("class.filters.dialog.exclusion.filters.group"), false, true, true));
mainPanel.add(myClassExclusionFilterEditor);
contentPanel.add(mainPanel, BorderLayout.CENTER);
@@ -50,7 +50,7 @@ public class EditInstanceFiltersDialog extends DialogWrapper{
myInstanceFilterEditor = new InstanceFilterEditor(myProject);
myInstanceFilterEditor.setPreferredSize(new Dimension(400, 200));
myInstanceFilterEditor.setBorder(IdeBorderFactory.createTitledBorder(
DebuggerBundle.message("instance.filters.dialog.instance.filters.group"), false, true));
DebuggerBundle.message("instance.filters.dialog.instance.filters.group"), false, true, true));
mainPanel.add(myInstanceFilterEditor);
contentPanel.add(mainPanel, BorderLayout.CENTER);
@@ -64,7 +64,7 @@ public class ExceptionBreakpointPropertiesPanel extends BreakpointPropertiesPane
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.EAST);
_panel.add(_panel0, BorderLayout.NORTH);
_panel.setBorder(IdeBorderFactory.createTitledBorder(
DebuggerBundle.message("label.exception.breakpoint.properties.panel.group.notifications"), false, true));
DebuggerBundle.message("label.exception.breakpoint.properties.panel.group.notifications"), false, true, true));
ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -59,7 +59,7 @@ public class FieldBreakpointPropertiesPanel extends BreakpointPropertiesPanel {
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.WEST);
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.EAST);
_panel.add(_panel0, BorderLayout.NORTH);
_panel.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("label.group.watch.events"), false, true));
_panel.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("label.group.watch.events"), false, true, true));
ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent e) {
@@ -58,7 +58,7 @@ public class MethodBreakpointPropertiesPanel extends BreakpointPropertiesPanel {
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.WEST);
_panel0.add(Box.createHorizontalStrut(3), BorderLayout.EAST);
_panel.add(_panel0, BorderLayout.NORTH);
_panel.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("label.group.watch.events"), true, true));
_panel.setBorder(IdeBorderFactory.createTitledBorder(DebuggerBundle.message("label.group.watch.events"), true, true, true));
ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent e) {