Skip to content

Commit 0a1b8ad

Browse files
committed
Updates PreferencesView
1 parent bb5fe52 commit 0a1b8ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/groovy/org/jd/gui/view/PreferencesView.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class PreferencesView implements PreferencesPanel.PreferencesPanelChangeListener
8484
int taskBarHeight = scnMax.bottom + scnMax.top
8585
int maxHeight = screenSize.height - taskBarHeight
8686

87-
int preferredHeight = preferencesPanels.preferredSize.height
87+
int preferredHeight = preferencesPanels.preferredSize.height + 2
8888
if (preferredHeight > maxHeight)
8989
preferredHeight = maxHeight
9090
preferencesScrollPane.preferredSize = new Dimension(400, preferredHeight)

0 commit comments

Comments
 (0)