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:
authorPaul Hebble <pjhebble@gmail.com>2019-05-03 06:16:06 +0300
committerPaul Hebble <pjhebble@gmail.com>2019-05-03 06:16:06 +0300
commit955faeac5204b8837e308e44e90221b990ade031 (patch)
treeb58eb4f3ec696650eacaf575832854656a8bf207 /mcs/class/System.Windows.Forms
parent8312f0abe399d5abc195f427a03702c975104dd8 (diff)
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);