mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 16:49:10 +00:00
Adjusted password input box
Now it has the same size as the user input box
This commit is contained in:
@@ -97,6 +97,7 @@ public class VerboseLoader extends JPanel implements ProgressListener {
|
|||||||
final JTextField passInput = new JPasswordField(25);
|
final JTextField passInput = new JPasswordField(25);
|
||||||
passInput.setAlignmentX(Box.CENTER_ALIGNMENT);
|
passInput.setAlignmentX(Box.CENTER_ALIGNMENT);
|
||||||
passInput.setMaximumSize(userInput.getPreferredSize());
|
passInput.setMaximumSize(userInput.getPreferredSize());
|
||||||
|
passInput.setPreferredSize(new Dimension(userInput.getWidth(), 20));
|
||||||
|
|
||||||
JLabel passwordLabel = new JLabel("Password");
|
JLabel passwordLabel = new JLabel("Password");
|
||||||
passwordLabel.setFont(labelFont);
|
passwordLabel.setFont(labelFont);
|
||||||
|
|||||||
Reference in New Issue
Block a user