From 6b9d9b5ed7d7cb2664647face05b76a2726fa85e Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Wed, 8 Jan 2025 21:59:22 +0800 Subject: [PATCH] FIX: try fix the image shown problem jira: [STUDIO-9627] Change-Id: I78e83c5072c8be46df7300703072554dc6e1fce9 --- src/slic3r/GUI/BindDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/BindDialog.cpp b/src/slic3r/GUI/BindDialog.cpp index 11cd010c7..631de921a 100644 --- a/src/slic3r/GUI/BindDialog.cpp +++ b/src/slic3r/GUI/BindDialog.cpp @@ -913,7 +913,7 @@ void BindMachineDialog::on_show(wxShowEvent &event) if (event.IsShown()) { auto img = m_machine_info->get_printer_thumbnail_img_str(); if (wxGetApp().dark_mode()) { img += "_dark"; } - auto bitmap = create_scaled_bitmap(img, this, FromDIP(100)); + auto bitmap = create_scaled_bitmap(img, this, FromDIP(80)); m_printer_img->SetBitmap(bitmap); m_printer_img->Refresh(); m_printer_img->Show(); @@ -1133,7 +1133,7 @@ void UnBindMachineDialog::on_show(wxShowEvent &event) if (event.IsShown()) { auto img = m_machine_info->get_printer_thumbnail_img_str(); if (wxGetApp().dark_mode()) { img += "_dark"; } - auto bitmap = create_scaled_bitmap(img, this, FromDIP(100)); + auto bitmap = create_scaled_bitmap(img, this, FromDIP(80)); m_printer_img->SetBitmap(bitmap); m_printer_img->Refresh(); m_printer_img->Show();