IDEA-86352 Problems with the UI settings

This commit is contained in:
Evgeny Zakrevsky
2012-05-21 21:22:02 +04:00
parent 3592217ef1
commit 560fd574cc
6 changed files with 27 additions and 24 deletions
@@ -29,6 +29,7 @@ import com.intellij.openapi.actionSystem.CustomShortcutSet;
import com.intellij.openapi.help.HelpManager;
import com.intellij.openapi.project.Project;
import com.intellij.ui.IdeBorderFactory;
import com.intellij.ui.components.JBLabel;
import com.intellij.util.ui.UIUtil;
import javax.swing.*;
@@ -82,13 +83,13 @@ public class ExpressionEvaluationDialog extends EvaluationDialog {
protected JComponent createCenterPanel() {
final JPanel panel = new JPanel(new BorderLayout());
final JPanel exprPanel = new JPanel(new BorderLayout());
final JPanel exprPanel = new JPanel(new BorderLayout(UIUtil.DEFAULT_HGAP, 0));
exprPanel.add(new JLabel(DebuggerBundle.message("label.evaluate.dialog.expression")), BorderLayout.WEST);
exprPanel.add(getExpressionCombo(), BorderLayout.CENTER);
final JLabel help = new JLabel("Press Enter to Evaluate or Control+Enter to evaluate and add to the Watches", SwingConstants.RIGHT);
final JBLabel help = new JBLabel("Press Enter to Evaluate or Control+Enter to evaluate and add to the Watches", SwingConstants.RIGHT);
help.setBorder(IdeBorderFactory.createEmptyBorder(2,0,6,0));
UIUtil.applyStyle(UIUtil.ComponentStyle.MINI, help);
help.setForeground(UIUtil.getInactiveTextColor());
help.setComponentStyle(UIUtil.ComponentStyle.SMALL);
help.setFontColor(UIUtil.FontColor.BRIGHTER);
exprPanel.add(help, BorderLayout.SOUTH);
@@ -52,9 +52,6 @@ public class CodeStyleImportsPanel extends JPanel {
private final PackageEntryTable myPackageList = new PackageEntryTable();
private JBTable myImportLayoutTable;
private JButton myMoveUpButton;
private JButton myMoveDownButton;
private JButton myRemovePackageFromImportLayoutButton;
private JBTable myPackageTable;
private final CodeStyleSettings mySettings;
private JRadioButton myJspImportCommaSeparated;