mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Improve PropertyGrid dark theme colors
This commit is contained in:
parent
cc6c87835a
commit
ae969a9cb3
1 changed files with 7 additions and 0 deletions
|
@ -95,6 +95,13 @@ private static void ApplyThemeToControl(Control control)
|
|||
sc.Panel1.BackColor = BackgroundColor;
|
||||
sc.Panel2.BackColor = BackgroundColor;
|
||||
goto default;
|
||||
case PropertyGrid pg:
|
||||
pg.CategoryForeColor = TextColor;
|
||||
pg.CategorySplitterColor = BorderColor;
|
||||
pg.LineColor = BorderColor;
|
||||
pg.SelectedItemWithFocusForeColor = BorderColor;
|
||||
pg.SelectedItemWithFocusBackColor = TextColor;
|
||||
goto default;
|
||||
default:
|
||||
control.ForeColor = TextColor;
|
||||
control.BackColor = BackgroundColor;
|
||||
|
|
Loading…
Reference in a new issue