Skip to content

Commit

Permalink
Fixed wrong window sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasmiosczka committed Oct 16, 2018
1 parent 9f9fb67 commit 9883b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ private EmailLoginDialog(EmailLogin emailLogin) {
super((java.awt.Frame) null, true);
setModalityType(java.awt.Dialog.ModalityType.APPLICATION_MODAL);
this.init(emailLogin);
this.setPreferredSize(new Dimension(330, 265));
this.pack();
}

Expand All @@ -46,7 +45,7 @@ private void init(EmailLogin emailLogin) {

this.setLayout(null);
Container c = this.getContentPane();
c.setPreferredSize(new Dimension(330, 240));
c.setPreferredSize(new Dimension(315, 225));

JLabel lbDescription = new JLabel("Description: ");
lbDescription.setBounds(5, 5, 100, 20);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ private FtpLoginDialog(FtpLogin ftpLogin) {
super((java.awt.Frame) null, true);
setModalityType(java.awt.Dialog.ModalityType.APPLICATION_MODAL);
this.init(ftpLogin);
this.setPreferredSize(new Dimension(330, 215));
this.pack();
}

Expand All @@ -44,7 +43,7 @@ private void init(FtpLogin ftpLogin) {

this.setLayout(null);
Container c = this.getContentPane();
c.setPreferredSize(new Dimension(330, 265));
c.setPreferredSize(new Dimension(315, 175));

JLabel lbDescription = new JLabel("Description: ");
lbDescription.setBounds(5, 5, 100, 20);
Expand Down

0 comments on commit 9883b36

Please sign in to comment.