Browse Source

fix missing arrow icons in menus

master
Konstantin Bulenkov 8 years ago
parent
commit
bea418d558
  1. 2
      src/com/bulenkov/darcula/DarculaLaf.java
  2. BIN
      src/com/bulenkov/darcula/icons/menuItemArrowIcon.png
  3. BIN
      src/com/bulenkov/darcula/icons/menuItemArrowIcon@2x.png

2
src/com/bulenkov/darcula/DarculaLaf.java

@ -96,6 +96,8 @@ public final class DarculaLaf extends BasicLookAndFeel {
defaults.put("Spinner.arrowButtonSize", new Dimension(16, 5)); defaults.put("Spinner.arrowButtonSize", new Dimension(16, 5));
defaults.put("Tree.collapsedIcon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/treeNodeCollapsed.png"))); defaults.put("Tree.collapsedIcon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/treeNodeCollapsed.png")));
defaults.put("Tree.expandedIcon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/treeNodeExpanded.png"))); defaults.put("Tree.expandedIcon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/treeNodeExpanded.png")));
defaults.put("MenuItem.arrowIcon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/menuItemArrowIcon.png")));
defaults.put("Menu.arrowIcon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/menuItemArrowIcon.png")));
defaults.put("CheckBoxMenuItem.checkIcon", EmptyIcon.create(16)); defaults.put("CheckBoxMenuItem.checkIcon", EmptyIcon.create(16));
defaults.put("RadioButtonMenuItem.checkIcon", EmptyIcon.create(16)); defaults.put("RadioButtonMenuItem.checkIcon", EmptyIcon.create(16));
defaults.put("InternalFrame.icon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/internalFrame.png"))); defaults.put("InternalFrame.icon", new IconUIResource(IconLoader.getIcon("/com/bulenkov/darcula/icons/internalFrame.png")));

BIN
src/com/bulenkov/darcula/icons/menuItemArrowIcon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

BIN
src/com/bulenkov/darcula/icons/menuItemArrowIcon@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Loading…
Cancel
Save