FIX: update the plate check texts

jira: [STUDIO-10813]
Change-Id: I0304908f7819be1482744e253332bfca1044732e
(cherry picked from commit 3bd7bee74308566e15ae5f9ec4070386b38cc8c1)
This commit is contained in:
xin.zhang
2025-03-12 12:08:05 +08:00
committed by Noisyfox
parent b5dadd160a
commit d1d4a68a8f
7 changed files with 27 additions and 1 deletions

View File

@@ -151,6 +151,16 @@ void PrintOptionsDialog::update_options(MachineObject* obj_)
}
if (obj_->is_support_build_plate_marker_detect) {
if (obj_->m_plate_maker_detect_type == MachineObject::POS_CHECK && (text_plate_mark->GetLabel() != _L("Enable detection of build plate position"))) {
text_plate_mark->SetLabel(_L("Enable detection of build plate position"));
text_plate_mark_caption->SetLabel(_L("The localization tag of build plate is detected, and printing is paused if the tag is not in predefined range."));
text_plate_mark_caption->Wrap(FromDIP(260));
} else if (obj_->m_plate_maker_detect_type == MachineObject::TYPE_POS_CHECK && (text_plate_mark->GetLabel() != _L("Build Plate Detection"))) {
text_plate_mark->SetLabel(_L("Build Plate Detection"));
text_plate_mark_caption->SetLabel(_L("Identifies the type and position of the build plate on the heatbed. Pausing printing if a mismatch is detected."));
text_plate_mark_caption->Wrap(FromDIP(260));
}
text_plate_mark->Show();
m_cb_plate_mark->Show();
text_plate_mark_caption->Show();