Changeset 1247 in josm
- Timestamp:
- 2009-01-11T16:59:01+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SideButton.java
r1246 r1247 19 19 doStyle(); 20 20 setText(null); 21 } 22 23 public SideButton(Action action, String imagename) 24 { 25 this(action); 26 setIcon(makeIcon(imagename)); 21 27 } 22 28 -
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r1246 r1247 245 245 }; 246 246 247 upButton = new SideButton("up", "LayerList", tr("Move the selected layer one row up."), upDown); 247 upButton = new SideButton("Up", "up", "LayerList", tr("Move the selected layer one row up."), upDown); 248 upButton.setText(null); 248 249 buttonPanel.add(upButton); 249 250 250 downButton = new SideButton("down", "LayerList", tr("Move the selected layer one row down."), upDown); 251 downButton = new SideButton("Down", "down", "LayerList", tr("Move the selected layer one row down."), upDown); 252 downButton.setText(null); 251 253 buttonPanel.add(downButton); 252 254 253 buttonPanel.add(new SideButton(new ShowHideLayerAction(null) ));254 buttonPanel.add(new SideButton(deleteAction ));255 buttonPanel.add(new SideButton(new ShowHideLayerAction(null), "showhide")); 256 buttonPanel.add(new SideButton(deleteAction, "delete")); 255 257 256 258 mergeButton = new SideButton("mergedown", "LayerList", tr("Merge the layer directly below into the selected layer."),
Note:
See TracChangeset
for help on using the changeset viewer.