diff options
-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) |