mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
ENH:Extruder feed/retract popup size optimization
jira:[STUDIO-12217] Change-Id: I69f55f129408039952524753a67b15869f670214 (cherry picked from commit d3ac9a4b9d746c7a1193fd3aef09da13f61c40d2)
This commit is contained in:
@@ -3989,13 +3989,17 @@ void StatusPanel::on_axis_ctrl_z_down_10(wxCommandEvent &event)
|
|||||||
void StatusPanel::axis_ctrl_e_hint(bool up_down)
|
void StatusPanel::axis_ctrl_e_hint(bool up_down)
|
||||||
{
|
{
|
||||||
if (ctrl_e_hint_dlg == nullptr) {
|
if (ctrl_e_hint_dlg == nullptr) {
|
||||||
ctrl_e_hint_dlg = new SecondaryCheckDialog(this->GetParent(), wxID_ANY, _L("Warning"), SecondaryCheckDialog::ButtonStyle::CONFIRM_AND_CANCEL, wxDefaultPosition, wxDefaultSize, wxCLOSE_BOX, true);
|
/* ctrl_e_hint_dlg = new SecondaryCheckDialog(this->GetParent(), wxID_ANY, _L("Warning"), SecondaryCheckDialog::ButtonStyle::CONFIRM_AND_CANCEL, wxDefaultPosition,
|
||||||
ctrl_e_hint_dlg->update_text(_L("Please heat the nozzle to above 170°C before loading or unloading filament."));
|
ctrl_e_hint_dlg->update_text(_L("Please heat the nozzle to above 170°C before loading or unloading filament."));
|
||||||
ctrl_e_hint_dlg->m_show_again_checkbox->Hide();
|
ctrl_e_hint_dlg->m_show_again_checkbox->Hide();
|
||||||
ctrl_e_hint_dlg->m_button_cancel->Hide();
|
ctrl_e_hint_dlg->m_button_cancel->Hide();
|
||||||
|
ctrl_e_hint_dlg->m_staticText_release_note->SetMaxSize(wxSize(FromDIP(360), -1));
|
||||||
|
ctrl_e_hint_dlg->m_staticText_release_note->SetMinSize(wxSize(FromDIP(360), -1));
|
||||||
|
ctrl_e_hint_dlg->Fit();*/
|
||||||
|
ctrl_e_hint_dlg = new MessageDialog(this, _L("Please heat the nozzle to above 170°C before loading or unloading filament."), wxString(_L("Warning")), wxOK | wxCENTER);
|
||||||
}
|
}
|
||||||
|
ctrl_e_hint_dlg->ShowModal();
|
||||||
ctrl_e_hint_dlg->on_show();
|
// ctrl_e_hint_dlg->on_show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StatusPanel::on_axis_ctrl_e_up_10(wxCommandEvent &event)
|
void StatusPanel::on_axis_ctrl_e_up_10(wxCommandEvent &event)
|
||||||
|
|||||||
@@ -603,7 +603,8 @@ protected:
|
|||||||
SecondaryCheckDialog* m_print_error_dlg_no_action = nullptr;
|
SecondaryCheckDialog* m_print_error_dlg_no_action = nullptr;
|
||||||
SecondaryCheckDialog* abort_dlg = nullptr;
|
SecondaryCheckDialog* abort_dlg = nullptr;
|
||||||
SecondaryCheckDialog* con_load_dlg = nullptr;
|
SecondaryCheckDialog* con_load_dlg = nullptr;
|
||||||
SecondaryCheckDialog* ctrl_e_hint_dlg = nullptr;
|
MessageDialog * ctrl_e_hint_dlg = nullptr;
|
||||||
|
|
||||||
SecondaryCheckDialog* sdcard_hint_dlg = nullptr;
|
SecondaryCheckDialog* sdcard_hint_dlg = nullptr;
|
||||||
|
|
||||||
FanControlPopupNew* m_fan_control_popup{nullptr};
|
FanControlPopupNew* m_fan_control_popup{nullptr};
|
||||||
|
|||||||
Reference in New Issue
Block a user