Skip to content

Commit 9dcb640

Browse files
authored
Set fixed size to historyButtonPanel to fix display of those buttons in taller windows (Fixes #1611)
1 parent f9c8385 commit 9dcb640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rarchives/ripme/ui/MainWindow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ public void setValueAt(Object value, int row, int col) {
496496
historyPanel.add(historyTablePanel, gbc);
497497
gbc.ipady = 0;
498498
JPanel historyButtonPanel = new JPanel(new GridBagLayout());
499-
historyButtonPanel.setPreferredSize(new Dimension(300, 10));
499+
historyButtonPanel.setSize(new Dimension(300, 10));
500500
historyButtonPanel.setBorder(emptyBorder);
501501
gbc.gridx = 0;
502502
historyButtonPanel.add(historyButtonRemove, gbc);

0 commit comments

Comments
 (0)