mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove border from an action's renderer
This commit is contained in:
@@ -1080,6 +1080,7 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA
|
||||
if (cmp == null) {
|
||||
if (value instanceof GotoActionModel.ActionWrapper) {
|
||||
cmp = myActionsRenderer.getListCellRendererComponent(list, new GotoActionModel.MatchedValue(((GotoActionModel.ActionWrapper)value), pattern), index, isSelected, isSelected);
|
||||
if (cmp instanceof JComponent) ((JComponent)cmp).setBorder(null);
|
||||
} else {
|
||||
cmp = super.getListCellRendererComponent(list, value, index, isSelected, isSelected);
|
||||
final JPanel p = new JPanel(new BorderLayout());
|
||||
|
||||
Reference in New Issue
Block a user