Changeset 4513 in josm
- Timestamp:
- 2011-10-12T10:16:21+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/GPXSettingsPanel.java
r4510 r4513 45 45 private JTextField drawRawGpsMaxLineLength = new JTextField(8); 46 46 private JTextField drawRawGpsMaxLineLengthLocal = new JTextField(8); 47 private JTextField drawLineWidth = new JTextField(2); 47 48 private JCheckBox forceRawGpsLines = new JCheckBox(tr("Force lines if no segments imported.")); 48 49 private JCheckBox largeGpsPoints = new JCheckBox(tr("Draw large GPS points.")); … … 173 174 add(largeGpsPoints, GBC.eop().insets(20,0,0,0)); 174 175 176 // drawLineWidth 177 drawLineWidth.setToolTipText(tr("Width of drawn GPX line (0 for default)")); 178 add(new JLabel(tr("Drawing width of GPX lines")), GBC.std().insets(40,0,0,0)); 179 add(drawLineWidth, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5)); 180 175 181 // colorTracks 176 182 colorGroup = new ButtonGroup(); … … 277 283 drawRawGpsMaxLineLengthLocal.setText(Integer.toString(Main.pref.getInteger("draw.rawgps.max-line-length.local",layerName, -1))); 278 284 drawRawGpsMaxLineLength.setText(Integer.toString(Main.pref.getInteger("draw.rawgps.max-line-length",layerName, 200))); 285 drawLineWidth.setText(Integer.toString(Main.pref.getInteger("draw.rawgps.linewidth",layerName, 0))); 279 286 forceRawGpsLines.setSelected(Main.pref.getBoolean("draw.rawgps.lines.force",layerName, false)); 280 287 drawGpsArrows.setSelected(Main.pref.getBoolean("draw.rawgps.direction",layerName, false)); … … 342 349 Main.pref.put("draw.rawgps.hdopcircle"+layerNameDot, hdopCircleGpsPoints.isSelected()); 343 350 Main.pref.put("draw.rawgps.large"+layerNameDot, largeGpsPoints.isSelected()); 351 Main.pref.put("draw.rawgps.linewidth"+layerNameDot, drawLineWidth.getText()); 344 352 345 353 TemplateEntryProperty.forMarker(layerName).put(waypointLabelPattern.getText());
Note:
See TracChangeset
for help on using the changeset viewer.