FIX: The display of _ is not clear in dark mode

jira: STUDIO-4525

In dark mode, the second '_' in the cavity temperature '_/_' display is
not clear.

Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: I43547371d4c824c2820eb0cb88d67dd2c4dc4678
This commit is contained in:
wenjie.guo
2023-10-19 17:38:06 +08:00
committed by Lane.Wei
parent ae40f0fc4d
commit 017c8b5c93
2 changed files with 8 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ void TempInput::Create(wxWindow *parent, wxString text, wxString label, wxString
}
});
text_ctrl->SetFont(Label::Body_13);
text_ctrl->SetForegroundColour(text_color.colorForStates(StateColor::Normal));
text_ctrl->SetForegroundColour(StateColor::darkModeColorFor(*wxBLACK));
if (!normal_icon.IsEmpty()) { this->normal_icon = ScalableBitmap(this, normal_icon.ToStdString(), 16); }
if (!actice_icon.IsEmpty()) { this->actice_icon = ScalableBitmap(this, actice_icon.ToStdString(), 16); }
this->degree_icon = ScalableBitmap(this, "degree", 16);