Move linkDrowTriangle icon to AllIcons
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 196 B |
|
After Width: | Height: | Size: 195 B |
|
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());
|
||||
|
||||
|
Before Width: | Height: | Size: 236 B |
|
Before Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 239 B |
|
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
|
||||
|
||||