diff --git a/platform/lang-impl/src/com/intellij/execution/actions/RunConfigurationsComboBoxAction.java b/platform/lang-impl/src/com/intellij/execution/actions/RunConfigurationsComboBoxAction.java index 4617b8be5f8f..7291b4a8e4e7 100644 --- a/platform/lang-impl/src/com/intellij/execution/actions/RunConfigurationsComboBoxAction.java +++ b/platform/lang-impl/src/com/intellij/execution/actions/RunConfigurationsComboBoxAction.java @@ -120,7 +120,7 @@ public class RunConfigurationsComboBoxAction extends ComboBoxAction implements D }; NonOpaquePanel panel = new NonOpaquePanel(new BorderLayout()); Border border = UIUtil.isUnderDefaultMacTheme() ? - JBUI.Borders.emptyLeft(1) : JBUI.Borders.empty(0, 5, 0, 4); + JBUI.Borders.empty(0, 2) : JBUI.Borders.empty(0, 5, 0, 4); panel.setBorder(border); panel.add(button); diff --git a/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java b/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java index 5d1d835dcbe0..b5194cd6f747 100644 --- a/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java @@ -958,10 +958,10 @@ public class ActionToolbarImpl extends JPanel implements ActionToolbar, QuickAct if (getParent() != null) { g.setColor(UIUtil.getSeparatorColor()); if (myOrientation == SwingConstants.HORIZONTAL) { - LinePainter2D.paint((Graphics2D)g, offset, gap, offset, getParent().getSize().height - gap * 2 - JBUI.scale(2)); + LinePainter2D.paint((Graphics2D)g, offset, gap, offset, getParent().getSize().height - gap * 2 - offset); } else { - LinePainter2D.paint((Graphics2D)g, gap, offset, getParent().getSize().width - gap * 2 - JBUI.scale(2), offset); + LinePainter2D.paint((Graphics2D)g, gap, offset, getParent().getSize().width - gap * 2 - offset, offset); } } }