mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-13 23:15:53 +08:00
Fix for #6993 - Small hieght combobox in "Settings tab as menu items"
This commit is contained in:
parent
6ca474192f
commit
853a5846ec
@ -501,6 +501,8 @@ void Tab::OnActivate()
|
|||||||
m_presets_choice->SetMinSize(ok_sz);
|
m_presets_choice->SetMinSize(ok_sz);
|
||||||
m_presets_choice->SetSize(ok_sz);
|
m_presets_choice->SetSize(ok_sz);
|
||||||
GetSizer()->GetItem(size_t(0))->GetSizer()->Layout();
|
GetSizer()->GetItem(size_t(0))->GetSizer()->Layout();
|
||||||
|
if (wxGetApp().tabs_as_menu())
|
||||||
|
m_presets_choice->update();
|
||||||
}
|
}
|
||||||
#endif // _MSW_DARK_MODE
|
#endif // _MSW_DARK_MODE
|
||||||
Refresh();
|
Refresh();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user