mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH:wxStaticText set the default foreground colour
Change-Id: Ifb03554848bc869f8605fb10945e7681147204d5
This commit is contained in:
parent
64a635608c
commit
4d8d4cb69c
13 changed files with 29 additions and 0 deletions
|
@ -240,8 +240,10 @@ SlicedInfo::SlicedInfo(wxWindow *parent) :
|
|||
|
||||
auto init_info_label = [this, parent, grid_sizer](wxString text_label) {
|
||||
auto *text = new wxStaticText(parent, wxID_ANY, text_label);
|
||||
text->SetForegroundColour(*wxBLACK);
|
||||
text->SetFont(wxGetApp().small_font());
|
||||
auto info_label = new wxStaticText(parent, wxID_ANY, "N/A");
|
||||
info_label->SetForegroundColour(*wxBLACK);
|
||||
info_label->SetFont(wxGetApp().small_font());
|
||||
grid_sizer->Add(text, 0);
|
||||
grid_sizer->Add(info_label, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue