FIX: the dialog display fault

jira: [STUDIO-9730]
Change-Id: I6ecd12c4ac4710ea63868963a806b219298c86d0
This commit is contained in:
xin.zhang 2025-01-12 17:33:02 +08:00 committed by lane.wei
parent 1e6e376a15
commit fbb9ebcf7d
1 changed files with 2 additions and 0 deletions

View File

@ -1738,6 +1738,8 @@ void AmsReplaceMaterialDialog::update_to_nozzle(int nozzle_id)
label_txt->SetLabelText(_L("If there are two identical filaments in AMS, AMS filament backup will be enabled. \n(Currently supporting automatic supply of consumables with the same brand, material type, and color)")); label_txt->SetLabelText(_L("If there are two identical filaments in AMS, AMS filament backup will be enabled. \n(Currently supporting automatic supply of consumables with the same brand, material type, and color)"));
} }
label_txt->Wrap(FromDIP(label_txt->GetMinWidth()));
label_txt->Layout();
identical_filament->Hide(); identical_filament->Hide();
} }