Changeset 13888 in josm


Ignore:
Timestamp:
2018-06-04T18:55:26+02:00 (11 months ago)
Author:
Don-vip
Message:

fix #16358 - specify button icon size in extended dialogs

File:
1 edited

Legend:

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

    r13130 r13888  
    4141import org.openstreetmap.josm.tools.GBC;
    4242import org.openstreetmap.josm.tools.ImageProvider;
     43import org.openstreetmap.josm.tools.ImageProvider.ImageSizes;
    4344import org.openstreetmap.josm.tools.InputMapUtils;
    4445import org.openstreetmap.josm.tools.Logging;
     
    184185        bIcons = new Icon[buttonIcons.length];
    185186        for (int i = 0; i < buttonIcons.length; ++i) {
    186             bIcons[i] = ImageProvider.get(buttonIcons[i]);
     187            bIcons[i] = ImageProvider.get(buttonIcons[i], ImageSizes.LARGEICON);
    187188        }
    188189        return this;
Note: See TracChangeset for help on using the changeset viewer.