Skip to content

Commit

Permalink
Limit consent panel size
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Mar 4, 2024
1 parent 3b5e35c commit 5684aac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ private <T extends JPanel> T updateContent(T newContent, boolean hasNextButton)
wrapperPanel.add(scrollPane);

JPanel consentPanel = new JPanel();
consentPanel.setMaximumSize(new Dimension(WIDTH, 30));
consentPanel.setLayout(new BorderLayout());

wrapperPanel.add(Box.createVerticalStrut(5));
Expand Down

0 comments on commit 5684aac

Please sign in to comment.