HiDPI: fix action separators in toolbars

This commit is contained in:
Konstantin Bulenkov
2015-01-17 22:57:17 +01:00
parent 5c5ccd4617
commit 3881c3aaef
@@ -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);
}
}