diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-12-21 03:42:22 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-12-21 11:42:31 +0200 |
commit | 8f594cd9033b3020788feb30c0b1fd315b40119e (patch) | |
tree | 24721afe12ad3987dc4b780dd347d0a8f7d0679c | |
parent | 8960d05164f0ec097c1c4a1a3c4795230479f5d1 (diff) |
Fix the non-grip case
Change-Id: Ic5b2d96829e5fc97004b3bba9cbb6ded2e27f22f
-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 65010f3b6260..d3042ec34a26 100644 --- a/vcl/source/window/dockmgr.cxx +++ b/vcl/source/window/dockmgr.cxx @@ -523,7 +523,7 @@ Rectangle ImplPopupFloatWin::GetDragRect() const Point ImplPopupFloatWin::GetToolboxPosition() const { // return inner position where a toolbox could be placed - return Point( 1, 1 + GetDragRect().getHeight() ); // grip + border + return Point( 1, 1 + ( hasGrip() ? GetDragRect().getHeight() : 0 ) ); // grip + border } void ImplPopupFloatWin::DrawBorder(vcl::RenderContext& rRenderContext) |