[Libreoffice-commits] core.git: vcl/source

Andreas Kainz (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 17 16:34:45 UTC 2020


 vcl/source/window/splitwin.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 84bbfa54da7bfdb46ae974c0da5e1d7ecc46c006
Author:     Andreas Kainz <kainz.a at gmail.com>
AuthorDate: Thu Sep 17 13:11:23 2020 +0200
Commit:     Andreas Kainz <kainz.a at gmail.com>
CommitDate: Thu Sep 17 18:34:06 2020 +0200

    Revert "remove border line from sidebar"
    
    This reverts commit 1349e66ef629bfc8aed23434108339bdba5013bb.
    
    Reason for revert: <INSERT REASONING HERE>
    
    Change-Id: I2430718556745aa60e56f4c25b9dc8cb86644b2d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102925
    Tested-by: Jenkins
    Reviewed-by: Andreas Kainz <kainz.a at gmail.com>

diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index 58b4c01921a6..66d64e7fd343 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -181,6 +181,10 @@ void SplitWindow::ImplDrawBorder(vcl::RenderContext& rRenderContext)
     switch (meAlign)
     {
     case WindowAlign::Bottom:
+        rRenderContext.SetLineColor(rStyleSettings.GetShadowColor());
+        rRenderContext.DrawLine(Point(0, 0), Point(nDX - 1, 0));
+        rRenderContext.DrawLine(Point(0, nDY - 2), Point(nDX - 1, nDY - 2));
+
         rRenderContext.SetLineColor(rStyleSettings.GetLightColor());
         rRenderContext.DrawLine(Point(0, 1), Point(nDX - 1, 1));
         rRenderContext.DrawLine(Point(0, nDY - 1), Point(nDX - 1, nDY - 1));


More information about the Libreoffice-commits mailing list