Changeset 27464 in osm for applications/editors/josm/plugins/measurement
- Timestamp:
- 2012-01-15T11:56:33+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java
r25137 r27464 11 11 import java.awt.event.KeyEvent; 12 12 import java.text.DecimalFormat; 13 import java.util.Arrays; 13 14 import java.util.Collection; 14 15 … … 68 69 KeyEvent.VK_M, Shortcut.GROUP_LAYER), 150); 69 70 70 JPanel buttonPanel = new JPanel(new GridLayout(1,2));71 72 71 resetButton = new SideButton(marktr("Reset"), "select", "Measurement", 73 72 tr("Reset current measurement results and delete measurement path."), this); 74 buttonPanel.add(resetButton);75 add(buttonPanel, BorderLayout.SOUTH);76 73 77 74 JPanel valuePanel = new JPanel(new GridLayout(0,2)); … … 99 96 valuePanel.add(segAngleLabel); 100 97 101 add(valuePanel, BorderLayout.CENTER);98 this.setPreferredSize(new Dimension(0, 92)); 102 99 103 this.setPreferredSize(new Dimension(0, 92)); 100 createLayout(valuePanel, false, Arrays.asList(new SideButton[] { 101 resetButton 102 })); 103 104 104 final MeasurementDialog dlg = this; 105 105
Note:
See TracChangeset
for help on using the changeset viewer.