mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-05 02:11:52 +03:00
Add PETG Note in PA calibration
This commit is contained in:
@@ -145,6 +145,15 @@ PA_Calibration_Dlg::PA_Calibration_Dlg(wxWindow* parent, wxWindowID id, Plater*
|
|||||||
v_sizer->Add(settings_sizer, 0, wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL, 15);
|
v_sizer->Add(settings_sizer, 0, wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL, 15);
|
||||||
v_sizer->Add(0, 5, 0, wxEXPAND, 5);
|
v_sizer->Add(0, 5, 0, wxEXPAND, 5);
|
||||||
|
|
||||||
|
// Note
|
||||||
|
auto note_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
|
std::string note_message = _u8L("Note: PA calibration is not applicable to PETG, please modify the PA value according to the actual printing of the model.");
|
||||||
|
auto note_text = new wxStaticText(this, wxID_ANY, note_message, wxDefaultPosition, wxSize(240, -1), wxALIGN_LEFT);
|
||||||
|
note_text->Wrap(note_text->GetClientSize().x);
|
||||||
|
note_sizer->Add(note_text, 0, wxALL | wxALIGN_CENTER_VERTICAL, 2);
|
||||||
|
|
||||||
|
v_sizer->Add(note_sizer, 0, wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL, 15);
|
||||||
|
|
||||||
m_btnStart = new wxButton(this, wxID_ANY, _L("OK"));
|
m_btnStart = new wxButton(this, wxID_ANY, _L("OK"));
|
||||||
m_btnStart->Bind(wxEVT_BUTTON, &PA_Calibration_Dlg::on_start, this);
|
m_btnStart->Bind(wxEVT_BUTTON, &PA_Calibration_Dlg::on_start, this);
|
||||||
v_sizer->Add(m_btnStart, 0, wxRIGHT | wxALIGN_RIGHT, 15);
|
v_sizer->Add(m_btnStart, 0, wxRIGHT | wxALIGN_RIGHT, 15);
|
||||||
|
|||||||
Reference in New Issue
Block a user