FIX: limit min-size of MainFrame 1000x600

Change-Id: I44390f75187f2cd796301d9c38ca18d432cbc26d
Jira: STUDIO-10930
This commit is contained in:
chunmao.guo 2025-03-19 15:09:29 +08:00 committed by lane.wei
parent aafcfd72f4
commit 2abed8cc59
1 changed files with 1 additions and 1 deletions

View File

@ -3632,7 +3632,7 @@ bool GUI_App::tabs_as_menu() const
wxSize GUI_App::get_min_size() const
{
return wxSize(76*m_em_unit, 49 * m_em_unit);
return wxSize(std::max(1000, 76*m_em_unit), std::max(600, 49 * m_em_unit));
}
float GUI_App::toolbar_icon_scale(const bool is_limited/* = false*/) const