Ignore:
Timestamp:
2018-01-30T18:48:26+01:00 (6 years ago)
Author:
stoecker
Message:

see #15734 - fix two icons by simply cutting the size. The circle is no longer prefectly round, but this produces best looking results with josm :-), add statusline image resizing

File:
1 edited

Legend:

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

    r10191 r13369  
    1111import org.openstreetmap.josm.tools.GBC;
    1212import org.openstreetmap.josm.tools.ImageProvider;
     13import org.openstreetmap.josm.tools.ImageProvider.ImageSizes;
    1314
    1415/**
     
    5253     */
    5354    public void setIcon(String img) {
    54         imgLabel.setIcon(ImageProvider.get("statusline/" + img));
     55        imgLabel.setIcon(ImageProvider.get("statusline/", img, ImageSizes.STATUSLINE));
    5556    }
    5657
Note: See TracChangeset for help on using the changeset viewer.