Adjusted password input box

Now it has the same size as the user input box
This commit is contained in:
JKetelaar
2014-08-27 02:25:11 +02:00
parent 6fcf68d793
commit 11761813b9
@@ -97,6 +97,7 @@ public class VerboseLoader extends JPanel implements ProgressListener {
final JTextField passInput = new JPasswordField(25);
passInput.setAlignmentX(Box.CENTER_ALIGNMENT);
passInput.setMaximumSize(userInput.getPreferredSize());
passInput.setPreferredSize(new Dimension(userInput.getWidth(), 20));
JLabel passwordLabel = new JLabel("Password");
passwordLabel.setFont(labelFont);