diff --git a/app/src/main/groovy/org/jd/gui/view/PreferencesView.groovy b/app/src/main/groovy/org/jd/gui/view/PreferencesView.groovy index 60fda845..a6260fd2 100644 --- a/app/src/main/groovy/org/jd/gui/view/PreferencesView.groovy +++ b/app/src/main/groovy/org/jd/gui/view/PreferencesView.groovy @@ -84,7 +84,7 @@ class PreferencesView implements PreferencesPanel.PreferencesPanelChangeListener int taskBarHeight = scnMax.bottom + scnMax.top int maxHeight = screenSize.height - taskBarHeight - int preferredHeight = preferencesPanels.preferredSize.height + int preferredHeight = preferencesPanels.preferredSize.height + 2 if (preferredHeight > maxHeight) preferredHeight = maxHeight preferencesScrollPane.preferredSize = new Dimension(400, preferredHeight)