529 : wxPanel(parent,
id, pos, size,
style),
531{
532 SetBackgroundColour(*wxWHITE);
533
534 auto top_sizer = new wxBoxSizer(wxVERTICAL);
535
538 for (
int i = 0; i <
m_steps.size(); i++) {
539 Label* step_text =
new Label(
this,
m_steps[i]);
540 step_text->SetForegroundColour(wxColour(206, 206, 206));
542 m_step_sizer->Add(step_text, 0, wxALIGN_CENTER | wxLEFT | wxRIGHT, FromDIP(15));
544 auto line = new wxPanel(this, wxID_ANY, wxDefaultPosition);
545 line->SetBackgroundColour(*wxBLACK);
547 }
548 }
550
552 top_sizer->AddSpacer(FromDIP(30));
553 this->SetSizer(top_sizer);
554 top_sizer->Fit(this);
555
556 wxGetApp().UpdateDarkUIWin(this);
557}
#define style
Definition WipeTowerDialog.cpp:101
std::vector< Label * > m_text_steps
Definition CalibrationWizardPage.hpp:180
wxArrayString m_steps
Definition CalibrationWizardPage.hpp:178
wxBoxSizer * m_step_sizer
Definition CalibrationWizardPage.hpp:179