Move linkDrowTriangle icon to AllIcons

This commit is contained in:
Kirill Kirichenko
2018-03-26 18:22:43 +03:00
parent 386dccdd4c
commit f11e9ce3e2
16 changed files with 3 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

@@ -1,10 +1,10 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ui.components.labels;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.ui.popup.IPopupChooserBuilder;
import com.intellij.openapi.ui.popup.JBPopupFactory;
import com.intellij.ui.awt.RelativePoint;
import com.intellij.util.ui.IconCache;
import com.intellij.util.ui.JBUI;
import org.jetbrains.annotations.NotNull;
@@ -22,7 +22,7 @@ public class DropDownLink extends JPanel implements LinkListener<Object> {
public DropDownLink(@NotNull String mainText, @NotNull Runnable mainAction) {
mainLabel = LinkLabel.create(mainText, mainAction);
dropLabel = new LinkLabel<>(null, IconCache.getIcon("linkDropTriangle"), this);
dropLabel = new LinkLabel<>(null, AllIcons.General.LinkDropTriangle, this);
//dropLabel.setHoveringIcon(AllIcons.Ide.Notification.ExpandHover);
setLayout(new DropDownLinkLayout());
Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

@@ -513,6 +513,7 @@ public class AllIcons {
public static final Icon LayoutEditorOnly = IconLoader.getIcon("/general/layoutEditorOnly.png"); // 16x16
public static final Icon LayoutEditorPreview = IconLoader.getIcon("/general/layoutEditorPreview.png"); // 16x16
public static final Icon LayoutPreviewOnly = IconLoader.getIcon("/general/layoutPreviewOnly.png"); // 16x16
public static final Icon LinkDropTriangle = IconLoader.getIcon("/general/linkDropTriangle.png"); // 14x14
public static final Icon Locate = IconLoader.getIcon("/general/locate.png"); // 14x16
public static final Icon LocateHover = IconLoader.getIcon("/general/locateHover.png"); // 14x16
public static final Icon MacCorner = IconLoader.getIcon("/general/macCorner.png"); // 16x16