Changeset 16931 in josm


Ignore:
Timestamp:
2020-08-25T22:56:01+02:00 (8 months ago)
Author:
Klumbumbus
Message:

see #15240 - Change default icon of a mappaint style and icon of style settings, fix style settings icon size

Location:
trunk
Files:
1 added
2 edited
1 moved

Legend:

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

    r16901 r16931  
    657657
    658658            JMenu setMenu = new JMenu(tr("Style settings"));
    659             setMenu.setIcon(new ImageProvider("preference").setMaxSize(ImageSizes.POPUPMENU).addOverlay(
    660                 new ImageOverlay(new ImageProvider("dialogs/mappaint", "pencil"), 0.5, 0.5, 1.0, 1.0)).get());
     659            setMenu.setIcon(new ImageProvider("dialogs/mapstyle").setMaxSize(ImageSizes.MENU).addOverlay(
     660                new ImageOverlay(new ImageProvider("preference"), 0.3, 0.3, 1.0, 1.0)).get());
    661661            setMenu.setToolTipText(tr("Customize the style"));
    662662            add(setMenu);
  • trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSource.java

    r16553 r16931  
    204204    private static synchronized ImageProvider getDefaultIconProvider() {
    205205        if (defaultIconProvider == null) {
    206             defaultIconProvider = new ImageProvider("dialogs/mappaint", "pencil");
     206            defaultIconProvider = new ImageProvider("dialogs", "mapstyle");
    207207        }
    208208        return defaultIconProvider;
Note: See TracChangeset for help on using the changeset viewer.