From 0366e52d861c38faab9e6646282adebe6656d281 Mon Sep 17 00:00:00 2001 From: "liz.li" Date: Mon, 10 Jul 2023 12:28:22 +0800 Subject: [PATCH] FIX: calibrate button layout [STUDIO-3595] Change-Id: I98f6d6a1d9607b9b1e3db343da854d09ce3c5336 --- src/slic3r/GUI/CalibrationWizardPresetPage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/CalibrationWizardPresetPage.cpp b/src/slic3r/GUI/CalibrationWizardPresetPage.cpp index 74e3670f2..1eeb15642 100644 --- a/src/slic3r/GUI/CalibrationWizardPresetPage.cpp +++ b/src/slic3r/GUI/CalibrationWizardPresetPage.cpp @@ -64,11 +64,13 @@ void CaliPresetCaliStagePanel::create_panel(wxWindow* parent) input_panel->Show(false); m_stage = CALI_MANUAL_STAGE_1; GetParent()->Layout(); + GetParent()->Fit(); }); m_fine_radioBox->Bind(wxEVT_RADIOBUTTON, [this, input_panel](auto& e) { input_panel->Show(); m_stage = CALI_MANUAL_STAGE_2; GetParent()->Layout(); + GetParent()->Fit(); }); flow_ratio_input->GetTextCtrl()->Bind(wxEVT_TEXT_ENTER, [this](auto& e) { float flow_ratio = 0.0f;