Skip to content

Commit af7ea3e

Browse files
committed
Forgoet to resize the tracker icons.
1 parent d9454c5 commit af7ea3e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/fiji/plugin/trackmate/helper/ui/ParameterSweepPanel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ public void mouseClicked( final java.awt.event.MouseEvent e )
322322
final ActionListener al = e -> {
323323
if ( chkbox.isSelected() )
324324
{
325-
tabbedPane.addTab( name, tm.getIcon(), panel, null );
325+
final ImageIcon smallIcon = fiji.plugin.trackmate.gui.GuiUtils.scaleImage( tm.getIcon(), 16, 16 );
326+
tabbedPane.addTab( name, smallIcon, panel, null );
326327
model.setActive( name, true );
327328
}
328329
else

0 commit comments

Comments
 (0)