diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-11-11 00:57:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-11-11 00:57:46 +0100 |
| commit | 3e64eb0078015558aef03cc87f9d52fc8940e602 (patch) | |
| tree | 112b056bf3fa386046759c2cfa765ee6d57fe254 | |
| parent | e2e7420bb4fc8ce36746ccddd6e2b29608de3a90 (diff) | |
Use a better colour for the name examples in dark UIs (#2888).
| -rw-r--r-- | src/wx/name_format_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc index 8f325efaf..166b0e145 100644 --- a/src/wx/name_format_editor.cc +++ b/src/wx/name_format_editor.cc @@ -51,7 +51,7 @@ NameFormatEditor::NameFormatEditor (wxWindow* parent, dcp::NameFormat name, dcp: font.SetStyle (wxFONTSTYLE_ITALIC); font.SetPointSize (font.GetPointSize() - 1); t->SetFont (font); - t->SetForegroundColour (wxColour (0, 0, 204)); + t->SetForegroundColour(gui_is_dark() ? wxColour(157, 238, 242) : wxColour(0, 0, 204)); } _sizer->Add (titles_sizer); |
