diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TopToolBar/src/toolbar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index ad4863d2cd..87db903dc6 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -281,6 +281,9 @@ int ArrangeButtons() }
while (iFirstButtonId < Buttons.getCount() && y >= 0 && (g_ctrl->bAutoSize || (y + g_ctrl->nButtonHeight <= rcClient.bottom - rcClient.top)));
+ for (i=iLastButtonId; i < Buttons.getCount(); i++)
+ hdwp = DeferWindowPos(hdwp, Buttons[i]->hwnd, NULL, nextX, y, 0, 0, SWP_NOSIZE | SWP_NOZORDER | SWP_HIDEWINDOW);
+
if (hdwp)
EndDeferWindowPos(hdwp);
|