FIX: adjust filament parameter ui layout

Change-Id: I3d46894333ad165b43487b8472fc1451fbbf5224
This commit is contained in:
chunmao.guo 2022-10-31 14:11:57 +08:00 committed by Lane.Wei
parent 6834f0096b
commit ad636acac7
2 changed files with 2 additions and 6 deletions

View file

@ -24,7 +24,7 @@ ParamsDialog::ParamsDialog(wxWindow * parent)
topsizer->Add(m_panel, 1, wxALL | wxEXPAND, 0, NULL);
SetSizerAndFit(topsizer);
SetSize({70 * em_unit(), 60 * em_unit()});
SetSize({75 * em_unit(), 60 * em_unit()});
Layout();
Center();
@ -69,7 +69,7 @@ void ParamsDialog::Popup()
void ParamsDialog::on_dpi_changed(const wxRect &suggested_rect)
{
Fit();
SetSize({70 * em_unit(), 60 * em_unit()});
SetSize({75 * em_unit(), 60 * em_unit()});
m_panel->msw_rescale();
Refresh();
}