recenter dialog text color

This commit is contained in:
yw4z
2026-09-09 23:57:57 +03:00
parent a9ab074247
commit f4670d32b2
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -9,7 +9,7 @@
#define BORDER FromDIP(25)
#define DRAW_PANEL_SIZE wxSize(FromDIP(475), FromDIP(100))
const wxColour text_color(107, 107, 107);
//const wxColour text_color(107, 107, 107);
namespace Slic3r { namespace GUI {
RecenterDialog::RecenterDialog(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style)
@@ -17,6 +17,7 @@ RecenterDialog::RecenterDialog(wxWindow* parent, wxWindowID id, const wxString&
{
hint1 = _L("Please home all axes (click ");
hint2 = _L(") to locate the toolhead's position. This prevents device moving beyond the printable boundary and causing equipment wear.");
text_color = StateColor::darkModeColorFor(wxColour("#363636")); // ORCA use readable color for dark mode
init_bitmap();
+1
View File
@@ -13,6 +13,7 @@ private:
ScalableBitmap m_home_bmp;
wxString hint1;
wxString hint2;
wxColour text_color;
void init_bitmap();
void OnPaint(wxPaintEvent& event);