From 3881c3aaefedc2e4fd8ba765757f48f39bc0caae Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Sat, 17 Jan 2015 22:53:03 +0100 Subject: [PATCH] HiDPI: fix action separators in toolbars --- .../openapi/actionSystem/impl/ActionToolbarImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 897590d7096f..09c8d1236f70 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 @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -798,10 +798,10 @@ public class ActionToolbarImpl extends JPanel implements ActionToolbar { public MySeparator() { if (myOrientation == SwingConstants.HORIZONTAL) { - mySize = new Dimension(6, 24); + mySize = JBUI.size(6, 24); } else { - mySize = new Dimension(24, 6); + mySize = JBUI.size(24, 6); } }