Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Pfister <steveisok@users.noreply.github.com>2019-05-31 05:05:37 +0300
committerGitHub <noreply@github.com>2019-05-31 05:05:37 +0300
commitd6075060556d907b1bfb97b3fe121cc8d74f06d7 (patch)
tree5894693c4f22239fb695321bdaa6b5e1c0dfc096 /mcs/class/System.Windows.Forms
parentc6eaeeed85b9ae937cac7c91ee3ec64b40d29b59 (diff)
parent955faeac5204b8837e308e44e90221b990ade031 (diff)
Merge pull request #14325 from HebaruSan/fix/listviewgroup-forecolor
Fix light on light ListViewGroup headers on dark theme
Diffstat (limited to 'mcs/class/System.Windows.Forms')
-rw-r--r--mcs/class/System.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
index 63320f8d8b7..f2415f506a6 100644
--- a/mcs/class/System.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
+++ b/mcs/class/System.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
@@ -3176,7 +3176,7 @@ namespace System.Windows.Forms
}
sformat.LineAlignment = StringAlignment.Near;
- dc.DrawString (group.Header, font, SystemBrushes.ControlText, text_bounds, sformat);
+ dc.DrawString (group.Header, font, SystemBrushes.Highlight, text_bounds, sformat);
dc.DrawLine (pen, header_bounds.Left, header_bounds.Top + text_height, header_bounds.Left + ListViewGroupLineWidth,
header_bounds.Top + text_height);