From f9144e29c43e80711fe54402e5d0f435ed914b3b 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 (cherry picked from commit 6b9d9b5ed7d7cb2664647face05b76a2726fa85e) --- 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 7944cbd3ef..3226a23bf7 100644 --- a/src/slic3r/GUI/BindDialog.cpp +++ b/src/slic3r/GUI/BindDialog.cpp @@ -916,7 +916,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();