Changeset 13369 in josm for trunk/src/org
- Timestamp:
- 2018-01-30T18:48:26+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/ImageLabel.java
r10191 r13369 11 11 import org.openstreetmap.josm.tools.GBC; 12 12 import org.openstreetmap.josm.tools.ImageProvider; 13 import org.openstreetmap.josm.tools.ImageProvider.ImageSizes; 13 14 14 15 /** … … 52 53 */ 53 54 public void setIcon(String img) { 54 imgLabel.setIcon(ImageProvider.get("statusline/" + img));55 imgLabel.setIcon(ImageProvider.get("statusline/", img, ImageSizes.STATUSLINE)); 55 56 } 56 57 -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r13356 r13369 172 172 * @since 10358 173 173 */ 174 ABOUT_LOGO(256, 258); 174 ABOUT_LOGO(256, 258), 175 /** 176 * Status line logo size 177 * @since 13369 178 */ 179 STATUSLINE(18, 18); 175 180 176 181 private final int virtualWidth;
Note:
See TracChangeset
for help on using the changeset viewer.