Skip to content

Commit

Permalink
Prepare refactor of advanced login field
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Oct 20, 2019
1 parent 63cf71b commit 03b81ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/edu/harvard/mcz/imagecapture/LoginDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ private void initialize() {
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
this.setLocation((screenSize.width - this.getWidth()) / 2,
(screenSize.height - this.getHeight()) / 2);
this.pack();
}

/**
Expand Down Expand Up @@ -385,6 +386,7 @@ public void toggleAdvanced() {
this.setSize(new Dimension(650, 355));
jPanelAdvanced.setVisible(true);
}
this.pack();
}

/**
Expand Down

0 comments on commit 03b81ec

Please sign in to comment.