summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index ea9a0bb7f064..39fa631e8bd4 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -1932,7 +1932,7 @@ void VclScrolledWindow::doSetAllocation(const Size &rAllocation, bool bRetryOnFa
if (m_pVScroll->IsVisible())
{
- Point aScrollPos(rAllocation.Width() - nScrollBarWidth - 2, 1);
+ Point aScrollPos(rAllocation.Width() - nScrollBarWidth - 1, 1);
Size aScrollSize(nScrollBarWidth, rAllocation.Height() - 2);
if (bBothVisible)
aScrollSize.AdjustHeight(-nScrollBarHeight);