Changeset 35499 in osm for applications/editors/josm/plugins/importvec
- Timestamp:
- 2020-06-29T11:30:41+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/ImportDialog.java
r34520 r35499 26 26 true); 27 27 contentInsets = new Insets(15, 15, 5, 15); 28 setButtonIcons(new String[] { "ok.png", "cancel.png" }); 29 28 setButtonIcons(new String[] { "ok", "cancel" }); 30 29 31 30 final JPanel panel = new JPanel(new GridBagLayout()); … … 37 36 pscale.add(new JLabel(tr("m")),GBC.std().insets(10, 0, 0, 0)); 38 37 panel.add(pscale,GBC.eop().fill(GBC.HORIZONTAL)); 39 38 40 39 final JLabel label = new JLabel("Curve steps:"); 41 40 panel.add(label, GBC.std()); 42 41 label.setLabelFor(tsteps); 43 42 panel.add(tsteps, GBC.eol().fill(GBC.HORIZONTAL)); 44 43 45 44 tsnum.setValue(Settings.getScaleNumerator()); 46 45 tsdiv.setValue(Settings.getScaleDivisor()); … … 51 50 setVisible(true); 52 51 } 53 52 54 53 public double getScaleNumerator() { 55 54 try { … … 59 58 } 60 59 } 61 60 62 61 public double getScaleDivisor() { 63 62 try { … … 82 81 } 83 82 84 83 85 84 public void saveSettings() { 86 85 Settings.setScaleNumerator(getScaleNumerator());
Note:
See TracChangeset
for help on using the changeset viewer.