FIX: Mapping UI display

jira: STUDIO-7473, 7817

Change-Id: Ibd014985b3b4997bd86700537e1d8a7d0d18176f
(cherry picked from commit 66701cc4c9f6c975ebd30b35e519ca8189dc9b7d)
This commit is contained in:
hang.xu 2024-08-08 10:41:43 +08:00 committed by Noisyfox
parent dee99d7a50
commit 00388756ed
3 changed files with 18 additions and 45 deletions

View file

@ -3210,8 +3210,10 @@ void SelectMachineDialog::on_dpi_changed(const wxRect &suggested_rect)
weightimg->SetBitmap(print_weight->bmp());
rename_editable->msw_rescale();
rename_editable_light->msw_rescale();
ams_mapping_help_icon->msw_rescale();
img_amsmapping_tip->SetBitmap(ams_mapping_help_icon->bmp());
if (ams_mapping_help_icon != nullptr) {
ams_mapping_help_icon->msw_rescale();
if (img_amsmapping_tip)img_amsmapping_tip->SetBitmap(ams_mapping_help_icon->bmp());
}
enable_ams->msw_rescale();
img_use_ams_tip->SetBitmap(enable_ams->bmp());