Unify delete icon

This commit is contained in:
SiboVG 2022-08-16 23:41:15 +02:00
parent 007d1496f8
commit 3fca78c87b
4 changed files with 2 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -375,7 +375,7 @@ class SimulationOptionsPanel extends JPanel {
this.add(button, "right");
}
button = new SelectColorButton(Icons.DELETE);
button = new SelectColorButton(Icons.EDIT_DELETE);
button.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent arg0) {

View File

@ -464,7 +464,7 @@ public class SimulationPlotPanel extends JPanel {
this.add(axisSelector);
JButton button = new SelectColorButton(Icons.DELETE);
JButton button = new SelectColorButton(Icons.EDIT_DELETE);
//// Remove this plot
button.setToolTipText(trans.get("simplotpanel.but.ttip.Removethisplot"));
button.setBorderPainted(false);

View File

@ -82,8 +82,6 @@ public class Icons {
public static final Icon PREFERENCES = loadImageIcon("pix/icons/preferences.png", "Preferences");
public static final Icon DELETE = loadImageIcon("pix/icons/delete.png", "Delete");
public static final Icon EDIT = loadImageIcon("pix/icons/pencil.png", "Edit");
public static final Icon CONFIGURE = loadImageIcon("pix/icons/configure.png", "Configure");
public static final Icon HELP = loadImageIcon("pix/icons/help-about.png", "Help");
public static final Icon UP = loadImageIcon("pix/icons/up.png", "Up");