Changeset 16927 in josm for trunk


Ignore:
Timestamp:
2020-08-24T22:29:47+02:00 (4 years ago)
Author:
simon04
Message:

fix #4888 - SlippyMapBBoxChooser: show map scale top/left

File:
1 edited

Legend:

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

    r16920 r16927  
    130130        MapScaler scaler = new MapScaler(this::getDist100Pixel, () -> Color.BLACK);
    131131        add(scaler);
    132         springLayout.putConstraint(SpringLayout.SOUTH, scaler, 5, SpringLayout.SOUTH, this);
     132        springLayout.putConstraint(SpringLayout.NORTH, scaler, 2, SpringLayout.NORTH, this);
     133        springLayout.putConstraint(SpringLayout.WEST, scaler, 2, SpringLayout.EAST, iSizeButton);
    133134
    134135        String mapStyle = PROP_MAPSTYLE.get();
Note: See TracChangeset for help on using the changeset viewer.