diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-10-16 11:35:56 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2020-10-16 19:53:29 +0200 |
commit | a362277bd133832c71e66603a10e4e4e19492b4d (patch) | |
tree | bd2df061196760764af5997a2ec7b8dd881d4277 /sw/source | |
parent | 3f554879aa90a73940041e3a1217b97a15e18bc3 (diff) |
tdf#136924 draw lines using field text color
Interestingly, these are not icon images, as I expected, but it's
a custom DrawingArea widget, which is completely drawn by some
algorithm.
Currently it uses the themes field color as background fill color
and an independent font color for the lines. So just use the
themed, matching field text color instead.
Regressed-by: 39e027c669fc0a91e223d7635c10adb5778586c7
Change-Id: I9f0073f41127207d2391ee23c9553512ffe4ba01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104422
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
(cherry picked from commit 160bd8cf3c9c6680b9a9291f2d2c4929ec0785c1)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104342
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index 50822c644e6b..343ce664a4e3 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -1325,7 +1325,7 @@ void ColumnValueSet::UserDraw(const UserDrawEvent& rUDEvt) Color aFillColor(pDev->GetFillColor()); Color aLineColor(pDev->GetLineColor()); pDev->SetFillColor(rStyleSettings.GetFieldColor()); - pDev->SetLineColor(SwViewOption::GetFontColor()); + pDev->SetLineColor(rStyleSettings.GetFieldTextColor()); long nStep = std::abs(std::abs(nRectHeight * 95 /100) / 11); long nTop = (nRectHeight - 11 * nStep ) / 2; |