Fix for #6993 - Small hieght combobox in "Settings tab as menu items"

This commit is contained in:
YuSanka 2021-09-23 15:39:32 +02:00
parent 6ca474192f
commit 853a5846ec

View File

@ -501,6 +501,8 @@ void Tab::OnActivate()
m_presets_choice->SetMinSize(ok_sz);
m_presets_choice->SetSize(ok_sz);
GetSizer()->GetItem(size_t(0))->GetSizer()->Layout();
if (wxGetApp().tabs_as_menu())
m_presets_choice->update();
}
#endif // _MSW_DARK_MODE
Refresh();