From ba286fedbd3cb7e4e3b95f6ac5bb56c8463d038b Mon Sep 17 00:00:00 2001 From: tao wang Date: Tue, 30 Aug 2022 15:25:44 +0800 Subject: [PATCH] FIX:fixed camera button cant not adaptation Change-Id: I208d7ca31e77e6cb7a0674e9794fd4eefecca840 --- src/slic3r/GUI/StatusPanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index 8d3a1897b4..5d45d28681 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -221,11 +221,11 @@ wxBoxSizer *StatusBasePanel::create_monitoring_page() m_bitmap_sdcard_on_img->Hide(); m_timelapse_button = new CameraItem(m_panel_monitoring_title, "timelapse_off_normal", "timelapse_on_normal", "timelapse_off_hover", "timelapse_on_hover"); - m_timelapse_button->SetMinSize(wxSize(38, 24)); + m_timelapse_button->SetMinSize(wxSize(FromDIP(38), FromDIP(24))); m_timelapse_button->SetBackgroundColour(STATUS_TITLE_BG); m_recording_button = new CameraItem(m_panel_monitoring_title, "recording_off_normal", "recording_on_normal", "recording_off_hover", "recording_on_hover"); - m_recording_button->SetMinSize(wxSize(38, 24)); + m_recording_button->SetMinSize(wxSize(FromDIP(38), FromDIP(24))); m_recording_button->SetBackgroundColour(STATUS_TITLE_BG); m_timelapse_button->SetToolTip(_L("Timelapse"));