From 07a94b56da42f3ba905c8b696ce82ff6a917f5e1 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Wed, 24 Aug 2011 17:52:13 +0200 Subject: [PATCH] proper mac border --- platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java b/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java index 37af45998e7a..f8a0b34ca3c5 100644 --- a/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java +++ b/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java @@ -80,7 +80,7 @@ public abstract class ToolbarDecorator implements DataProvider, AddRemoveUpDownP protected ToolbarDecorator initPositionAndBorder() { myToolbarPosition = SystemInfo.isMac ? ActionToolbarPosition.BOTTOM : ActionToolbarPosition.RIGHT; - myBorder = SystemInfo.isMac ? new CustomLineBorder(0,1,1,1) : new CustomLineBorder(0, 1, 0, 0); + myBorder = new CustomLineBorder(0, SystemInfo.isMac ? 0 : 1, 0, 0); final JComponent c = getComponent(); if (c != null) { c.setBorder(IdeBorderFactory.createEmptyBorder(0));