Skip to content

Commit

Permalink
Updates PreferencesView
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed Jul 12, 2015
1 parent bb5fe52 commit 0a1b8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/groovy/org/jd/gui/view/PreferencesView.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a1b8ad

Please sign in to comment.