author | peter1138 |
Mon, 18 Feb 2008 13:19:57 +0000 | |
changeset 8594 | b082005d6412 |
parent 8593 | e9075b7c9448 |
child 8595 | 718ce3c308fb |
--- a/src/settings_gui.cpp Mon Feb 18 12:36:10 2008 +0000 +++ b/src/settings_gui.cpp Mon Feb 18 13:19:57 2008 +0000 @@ -892,6 +892,9 @@ /* Resize the window to fit the largest patch tab */ ResizeWindowForWidget(w, PATCHSEL_OPTIONSPANEL, 0, patches_max * 11); + /* Recentre the window for the new size */ + w->top = w->top - (patches_max * 11) / 2; + w->LowerWidget(4); } break;