From 4b893b40a15f9532b4943fd5b81632493aa13c95 Mon Sep 17 00:00:00 2001 From: yw4z Date: Sat, 7 Jun 2025 12:15:41 +0300 Subject: [PATCH] wxDataViewCtrl fixes (#9818) * init * update --- src/slic3r/GUI/GUI_ObjectList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index dd38ebfac7..ab8b3583f5 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -118,7 +118,7 @@ public: wxEllipsizeMode ellipsizeMode = wxELLIPSIZE_END ) override { // ORCA draw custom text to improve consistency between platforms - dc.SetFont(Label::Body_13); + //dc.SetFont(win->GetFont()); Without SetFont it pulls font from window dc.SetTextForeground(StateColor::darkModeColorFor(wxColour("#262E30"))); // use same color for selected / non-selected dc.DrawText(text,wxPoint(rect.x, rect.y)); }