Changeset 8672 in josm for trunk/src/org


Ignore:
Timestamp:
2015-08-19T20:26:09+02:00 (5 years ago)
Author:
simon04
Message:

DownloadAlong: allow to specify areas smaller than 1km², use unit symbol "km²"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongPanel.java

    r8510 r8672  
    7474
    7575        add(new JLabel(tr("Maximum area per request:")), GBC.std());
    76         maxRect = new JSpinner(new SpinnerNumberModel(20.0, 1.0, 25.0, 1.0)) {
     76        maxRect = new JSpinner(new SpinnerNumberModel(20.0, 0.01, 25.0, 1.0)) {
    7777            @Override
    7878            public Dimension getPreferredSize() {
     
    8181        };
    8282        add(maxRect, GBC.std().insets(5, 5, 5, 5));
    83         add(new JLabel(tr("sq km")), GBC.eol());
     83        add(new JLabel("km\u00b2"), GBC.eol());
    8484
    8585        if (prefNear != null) {
Note: See TracChangeset for help on using the changeset viewer.