minimize borders in show usages popup title panel

This commit is contained in:
Egor.Ushakov
2016-02-26 16:29:11 +03:00
parent 06e337a73f
commit 79c79d07f0
2 changed files with 3 additions and 4 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 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.
@@ -29,7 +29,7 @@ class CompositeActiveComponent implements ActiveComponent {
public CompositeActiveComponent(@NotNull ActiveComponent... components) {
myComponents = components;
myComponent = new JPanel(new FlowLayout(FlowLayout.CENTER, JBUI.scale(2), JBUI.scale(4)));
myComponent = new JPanel(new FlowLayout(FlowLayout.CENTER, JBUI.scale(2), JBUI.scale(2)));
myComponent.setBorder(null);
myComponent.setOpaque(false);
for (ActiveComponent component : components) {
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
* Copyright 2000-2016 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.
@@ -47,7 +47,6 @@ public class CaptionPanel extends JPanel {
public CaptionPanel() {
setLayout(new BorderLayout());
setBorder(new EmptyBorder(0, 4, 0, 4));
}
@Override