PreferencesDialog: Fix for rescale.

+ Fixed CheckBox::msw_rescale
This commit is contained in:
YuSanka 2022-11-23 12:05:37 +01:00
parent dbd5e4d999
commit d20131de49
6 changed files with 18 additions and 11 deletions

View file

@ -1409,7 +1409,7 @@ void ObjectManipulation::msw_rescale()
editor->msw_rescale();
// rescale "inches" checkbox
m_check_inch->SetMinSize(wxSize(-1, int(1.5f * m_check_inch->GetFont().GetPixelSize().y + 0.5f)));
m_check_inch->SetInitialSize(m_check_inch->GetBestSize());
get_og()->msw_rescale();
}