diff options
Diffstat (limited to 'rfbplayer/ToolBar.cxx')
-rw-r--r-- | rfbplayer/ToolBar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfbplayer/ToolBar.cxx b/rfbplayer/ToolBar.cxx index d92d5849..6551cf80 100644 --- a/rfbplayer/ToolBar.cxx +++ b/rfbplayer/ToolBar.cxx @@ -186,7 +186,7 @@ void ToolBar::autoSize() { RECT r, btnRect; GetClientRect(parentHwnd, &r); getButtonRect(0, &btnRect); - int height = getButtonsHeight() + btnRect.top * 2 + 1; + int height = getButtonsHeight() + btnRect.top * 2 + 2; SetWindowPos(getHandle(), HWND_TOP, 0, 0, r.right - r.left, height, SWP_NOMOVE); } else { |