Skip to content

Commit

Permalink
Fix icon size (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
maripo committed Jun 19, 2018
1 parent a23ade5 commit 8122a3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<property name="commit.message" value="Commit message"/>
<!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
<property name="plugin.main.version" value="13564"/>
<property name="plugin.version" value="1.11.1"/>
<property name="plugin.version" value="1.12"/>

<!-- Configure these properties (replace "..." accordingly).
See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
Expand Down
5 changes: 3 additions & 2 deletions src/org/maripo/josm/easypresets/ui/editor/TagsPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import org.openstreetmap.josm.tools.GBC;
import org.openstreetmap.josm.tools.ImageProvider;
import org.openstreetmap.josm.tools.ImageResource;

public class TagsPane extends JPanel {
private List<TagEditor> tagEditors;
Expand Down Expand Up @@ -74,9 +75,9 @@ public Line(TagEditor editor, int index) {

JPanel orderButtonsPanel = new JPanel(new GridLayout(1, 2));
upButton = new JButton();
upButton.setIcon(ImageProvider.get("dialogs", "up"));
downButton = new JButton();
downButton.setIcon(ImageProvider.get("dialogs", "down"));
upButton.setIcon(ImageProvider.get("dialogs", "up", ImageProvider.ImageSizes.SMALLICON));
downButton.setIcon(ImageProvider.get("dialogs", "down", ImageProvider.ImageSizes.SMALLICON));
upButton.addActionListener(this);
downButton.addActionListener(this);
orderButtonsPanel.add(upButton);
Expand Down

0 comments on commit 8122a3c

Please sign in to comment.