vcl/source/window/layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f21f3d094cfb495c89dfb0a23ecb061ef1a2178e
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Oct 13 10:51:52 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Oct 13 13:54:05 2020 +0200

    VclScrolledWindow vertical scrollbar one pixel too far to the left
    
    Change-Id: I6d9afb87b8d99e3c622b9d69fbfa88528adadb81
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104228
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to