Ignore:
Timestamp:
2016-01-02T02:06:16+01:00 (4 years ago)
Author:
stoecker
Message:

see #10684 - use squared toolbar buttons always, move side button image size definition to ImageProvider

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r9147 r9253  
    150150         * @since 8323
    151151         */
    152         LAYER
     152        LAYER,
     153        /** Toolbar button icon size
     154         * @since 9253
     155         */
     156        TOOLBAR,
     157        /** Side button maximum height
     158         * @since 9253
     159         */
     160        SIDEBUTTON
    153161    }
    154162
     
    348356        case MAPMAX: sizeval = Main.pref.getInteger("iconsize.mapmax", 48); break;
    349357        case MAP: sizeval = Main.pref.getInteger("iconsize.mapmax", 16); break;
     358        case SIDEBUTTON: sizeval = Main.pref.getInteger("iconsize.sidebutton", 20); break;
     359        case TOOLBAR: /* TOOLBAR is LARGELICON - only provided in case of future changes */
    350360        case POPUPMENU: /* POPUPMENU is LARGELICON - only provided in case of future changes */
    351361        case LARGEICON: sizeval = Main.pref.getInteger("iconsize.largeicon", 24); break;
Note: See TracChangeset for help on using the changeset viewer.