ENH:optimize the color of text in dark mode
Change-Id: I458250cfa43115b882ea4362e0e5620d8c5f8fb8
This commit is contained in:
parent
52aecca564
commit
e1199884d8
2 changed files with 2 additions and 2 deletions
|
@ -1192,7 +1192,7 @@ void AmsReplaceMaterialDialog::create()
|
|||
label_title->SetForegroundColour(0x00AE42);
|
||||
auto label_txt = new Label(this, _L("When the current material run out,the printer will continue to print in the following order."));
|
||||
label_txt->SetFont(Label::Body_13);
|
||||
label_txt->SetForegroundColour(0x323A3D);
|
||||
label_txt->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#323A3C")));
|
||||
label_txt->SetMinSize(wxSize(FromDIP(380), -1));
|
||||
label_txt->SetMaxSize(wxSize(FromDIP(380), -1));
|
||||
label_txt->Wrap(FromDIP(380));
|
||||
|
|
|
@ -32,7 +32,7 @@ MediaPlayCtrl::MediaPlayCtrl(wxWindow *parent, wxMediaCtrl2 *media_ctrl, const w
|
|||
m_button_play->SetCanFocus(false);
|
||||
|
||||
m_label_status = new Label(this, "");
|
||||
m_label_status->SetForegroundColour(wxColour("#2C2C2E"));
|
||||
m_label_status->SetForegroundColour(wxColour("#323A3C"));
|
||||
|
||||
m_button_play->Bind(wxEVT_COMMAND_BUTTON_CLICKED, [this](auto &e) { TogglePlay(); });
|
||||
m_button_play->Bind(wxEVT_RIGHT_UP, [this](auto & e) { m_media_ctrl->Play(); });
|
||||
|
|
Loading…
Reference in a new issue