diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-12-21 04:08:23 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-12-21 11:42:32 +0200 |
commit | 90395eb694c0a9dd9033863d1def9678d4328943 (patch) | |
tree | 43aff647089cf17ba14cf270eb5f3efd0672a2d9 /vcl | |
parent | 8f594cd9033b3020788feb30c0b1fd315b40119e (diff) |
Fix window height for the grip case
Change-Id: I1a4d2c498971a5bf73dc7f89a0987e6f998cf7a6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dockmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx index d3042ec34a26..fa6e3b83cbad 100644 --- a/vcl/source/window/dockmgr.cxx +++ b/vcl/source/window/dockmgr.cxx @@ -500,7 +500,7 @@ void ImplPopupFloatWin::ImplSetBorder() // be used to set the proper window size mpWindowImpl->mnTopBorder = 1; if( hasGrip() ) - mpWindowImpl->mnTopBorder += 2 + ToolBox::ImplGetDragWidth( *this, false ); + mpWindowImpl->mnTopBorder += 1 + ToolBox::ImplGetDragWidth( *this, false ); mpWindowImpl->mnBottomBorder = 1; mpWindowImpl->mnLeftBorder = 1; mpWindowImpl->mnRightBorder = 1; |