Changeset 8711 in josm


Ignore:
Timestamp:
2015-09-01T20:48:29+02:00 (5 years ago)
Author:
simon04
Message:

see #11428 - Overpass Download: use Monospace font for query

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/OverpassDownloadAction.java

    r8688 r8711  
    3333import org.openstreetmap.josm.gui.download.DownloadDialog;
    3434import org.openstreetmap.josm.gui.progress.ProgressMonitor;
     35import org.openstreetmap.josm.gui.util.GuiHelper;
    3536import org.openstreetmap.josm.gui.widgets.HistoryComboBox;
    3637import org.openstreetmap.josm.io.BoundingBoxDownloader;
     
    129130
    130131            overpassQuery = new JTextArea("[timeout:15];", 8, 80);
     132            overpassQuery.setFont(GuiHelper.getMonospacedFont(overpassQuery));
    131133            JScrollPane scrollPane = new JScrollPane(overpassQuery);
    132134            pnl.add(new JLabel(tr("Overpass query: ")), GBC.std().insets(5, 5, 5, 5));
Note: See TracChangeset for help on using the changeset viewer.