FIX: calibrate button layout [STUDIO-3595]

Change-Id: I98f6d6a1d9607b9b1e3db343da854d09ce3c5336
This commit is contained in:
liz.li 2023-07-10 12:28:22 +08:00 committed by Lane.Wei
parent 9b797fa985
commit 0366e52d86
1 changed files with 2 additions and 0 deletions

View File

@ -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;