Skip to content

Commit

Permalink
Set fixed size to historyButtonPanel to fix display of those buttons …
Browse files Browse the repository at this point in the history
…in taller windows (Fixes #1611)
  • Loading branch information
Isaaku authored Feb 2, 2025
1 parent f9c8385 commit 9dcb640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/rarchives/ripme/ui/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ public void setValueAt(Object value, int row, int col) {
historyPanel.add(historyTablePanel, gbc);
gbc.ipady = 0;
JPanel historyButtonPanel = new JPanel(new GridBagLayout());
historyButtonPanel.setPreferredSize(new Dimension(300, 10));
historyButtonPanel.setSize(new Dimension(300, 10));
historyButtonPanel.setBorder(emptyBorder);
gbc.gridx = 0;
historyButtonPanel.add(historyButtonRemove, gbc);
Expand Down

0 comments on commit 9dcb640

Please sign in to comment.