Skip to content

Commit

Permalink
simplify margins
Browse files Browse the repository at this point in the history
  • Loading branch information
aress31 committed Dec 26, 2023
1 parent 97c871c commit 5e07803
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main/java/swurg/gui/views/AboutPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,13 @@ public void componentShown(ComponentEvent e) {

private void initComponents() {
this.setLayout(new BorderLayout());
this.setBorder(new EmptyBorder(INSET, INSET, 0, INSET));

this.northPanel = createNorthPanel();
this.northPanel.setBorder(new EmptyBorder(INSET, INSET, 0, 16));

JPanel centerPanel = createCenterPanel();
centerPanel.setBorder(new EmptyBorder(0, INSET, 0, INSET));
this.northPanel.setBorder(new EmptyBorder(0, 0, INSET, 0));

this.add(northPanel, BorderLayout.NORTH);
this.add(centerPanel, BorderLayout.CENTER);
this.add(createCenterPanel(), BorderLayout.CENTER);
this.add(new StatusPanel(), BorderLayout.SOUTH);
}

Expand Down

0 comments on commit 5e07803

Please sign in to comment.