mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
Fix object's list text color on Linux (GH-2086) (#2346)
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
6962cd6577
commit
d54e5bd9d2
1 changed files with 7 additions and 0 deletions
|
@ -91,6 +91,13 @@ ObjectList::ObjectList(wxWindow* parent) :
|
|||
wxDataViewCtrl(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_MULTIPLE)
|
||||
{
|
||||
wxGetApp().UpdateDVCDarkUI(this, true);
|
||||
|
||||
#ifdef __linux__
|
||||
// Temporary fix for incorrect dark mode application regarding list item's text color.
|
||||
// See: https://github.com/SoftFever/OrcaSlicer/issues/2086
|
||||
this->SetForegroundColour(*wxBLACK);
|
||||
#endif
|
||||
|
||||
SetFont(Label::sysFont(13));
|
||||
#ifdef __WXMSW__
|
||||
GenericGetHeader()->SetFont(Label::sysFont(13));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue