Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #114 from dyrlund/master
Browse files Browse the repository at this point in the history
Added margin to MZRangeComponent
  • Loading branch information
tomas-pluskal committed Sep 3, 2015
2 parents 049cd90 + ff2223e commit 7d2e211
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.SwingUtilities;

Expand All @@ -39,8 +40,8 @@

import com.google.common.collect.Range;

public class MZRangeComponent extends DoubleRangeComponent implements
ActionListener {
public class MZRangeComponent extends DoubleRangeComponent
implements ActionListener {

private static final long serialVersionUID = 1L;
private final JButton setAutoButton, fromFormulaButton;
Expand All @@ -49,6 +50,8 @@ public MZRangeComponent() {

super(MZmineCore.getConfiguration().getMZFormat());

setBorder(BorderFactory.createEmptyBorder(0, 9, 0, 0));

setAutoButton = new JButton("Auto range");
setAutoButton.addActionListener(this);
RawDataFile currentFiles[] = MZmineCore.getProjectManager()
Expand Down

0 comments on commit 7d2e211

Please sign in to comment.