mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
@@ -118,7 +118,7 @@ public:
|
|||||||
wxEllipsizeMode ellipsizeMode = wxELLIPSIZE_END
|
wxEllipsizeMode ellipsizeMode = wxELLIPSIZE_END
|
||||||
) override
|
) override
|
||||||
{ // ORCA draw custom text to improve consistency between platforms
|
{ // 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.SetTextForeground(StateColor::darkModeColorFor(wxColour("#262E30"))); // use same color for selected / non-selected
|
||||||
dc.DrawText(text,wxPoint(rect.x, rect.y));
|
dc.DrawText(text,wxPoint(rect.x, rect.y));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user