Skip to content

Commit

Permalink
light/dark mode fixes for rename plate
Browse files Browse the repository at this point in the history
Signed-off-by: Jamin W. Collins <[email protected]>
  • Loading branch information
jamincollins committed Apr 12, 2024
1 parent 9fdd26e commit d462e49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/slic3r/GUI/PlateSettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ PlateSettingsDialog::PlateSettingsDialog(wxWindow* parent, const wxString& title

auto plate_name_txt = new wxStaticText(this, wxID_ANY, _L("Plate name"));
plate_name_txt->SetFont(Label::Body_14);
plate_name_txt->SetForegroundColour(wxColour(0, 0, 0));
m_ti_plate_name = new TextInput(this, wxString::FromDouble(0.0), "", "", wxDefaultPosition, wxSize(FromDIP(240),-1), wxTE_PROCESS_ENTER);
top_sizer->Add(plate_name_txt, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT |wxALL, FromDIP(5));
top_sizer->Add(m_ti_plate_name, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT |wxALL, FromDIP(5));
Expand Down Expand Up @@ -267,6 +268,7 @@ PlateNameEditDialog::PlateNameEditDialog(wxWindow *parent, wxWindowID id, const

auto plate_name_txt = new wxStaticText(this, wxID_ANY, _L("Plate name"));
plate_name_txt->SetFont(Label::Body_14);
plate_name_txt->SetForegroundColour(wxColour(0, 0, 0));
m_ti_plate_name = new TextInput(this, wxString::FromDouble(0.0), "", "", wxDefaultPosition, wxSize(FromDIP(240), -1), wxTE_PROCESS_ENTER);
m_ti_plate_name->Bind(wxEVT_TEXT_ENTER, [this](wxCommandEvent &e) {
if (this->IsModal())
Expand Down

0 comments on commit d462e49

Please sign in to comment.