Ignore:
Timestamp:
2017-11-19T20:12:24+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #15572 - use ImageProvider attach API for all JOSM actions to ensure proper icon size everywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListViewer.java

    r12636 r13130  
    240240            putValue(NAME, tr("Zoom to node"));
    241241            putValue(SHORT_DESCRIPTION, tr("Zoom to this node in the current data layer"));
    242             putValue(SMALL_ICON, ImageProvider.get("dialogs", "zoomin"));
     242            new ImageProvider("dialogs", "zoomin").getResource().attachImageIcon(this, true);
    243243        }
    244244
     
    285285            putValue(NAME, tr("Show history"));
    286286            putValue(SHORT_DESCRIPTION, tr("Open a history browser with the history of this node"));
    287             putValue(SMALL_ICON, ImageProvider.get("dialogs", "history"));
     287            new ImageProvider("dialogs", "history").getResource().attachImageIcon(this, true);
    288288        }
    289289
Note: See TracChangeset for help on using the changeset viewer.