summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorAndreas Kainz <kainz.a@gmail.com>2020-09-17 13:11:23 +0200
committerAndreas Kainz <kainz.a@gmail.com>2020-09-17 18:34:06 +0200
commit84bbfa54da7bfdb46ae974c0da5e1d7ecc46c006 (patch)
treee502d439bdfc4dc83c86259627deae774a2d6d01 /vcl/source/window
parent7adf79c2dd4af72e6af321336ef79914364bc882 (diff)
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@gmail.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/splitwin.cxx4
1 files changed, 4 insertions, 0 deletions
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));