mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
minimize borders in show usages popup title panel
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user