FIX: update the wrap DIP

jira: [STUDIO-10037]
Change-Id: I24c7d1ad54bbcfb4ac43609bff1dd9cd10db2e60
(cherry picked from commit 0c80f1a9754a727c2087b4f56942ec1b8f589fe5)
This commit is contained in:
xin.zhang 2025-01-20 10:24:18 +08:00 committed by Noisyfox
parent 8c06b19a7b
commit 00c9ab01fb

View file

@ -1973,7 +1973,7 @@ 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->Wrap(FromDIP(label_txt->GetMinWidth()));
label_txt->Wrap(FromDIP(380));
label_txt->Layout();
identical_filament->Hide();
}