Revert change that regressed appearance of UI.

This commit is contained in:
MetaPrime 2017-05-09 14:54:27 -07:00
parent 6ca4ebd176
commit 8bbc33faf3

View File

@ -280,10 +280,10 @@ public final class MainWindow implements Runnable, RipStatusHandler {
JPanel ripPanel = new JPanel(new GridBagLayout()); JPanel ripPanel = new JPanel(new GridBagLayout());
ripPanel.setBorder(emptyBorder); ripPanel.setBorder(emptyBorder);
gbc.gridx = 0; gbc.fill = GridBagConstraints.HORIZONTAL; ripPanel.add(new JLabel("URL:", JLabel.RIGHT), gbc); gbc.gridx = 0; ripPanel.add(new JLabel("URL:", JLabel.RIGHT), gbc);
gbc.gridx = 1; gbc.fill = GridBagConstraints.HORIZONTAL; ripPanel.add(ripTextfield, gbc); gbc.gridx = 1; ripPanel.add(ripTextfield, gbc);
gbc.gridx = 2; gbc.fill = GridBagConstraints.HORIZONTAL; ripPanel.add(ripButton, gbc); gbc.gridx = 2; ripPanel.add(ripButton, gbc);
gbc.gridx = 3; gbc.fill = GridBagConstraints.HORIZONTAL; ripPanel.add(stopButton, gbc); gbc.gridx = 3; ripPanel.add(stopButton, gbc);
gbc.fill = GridBagConstraints.BOTH; gbc.fill = GridBagConstraints.BOTH;
statusLabel = new JLabel("Inactive"); statusLabel = new JLabel("Inactive");