FIX:Fixed some UI layout issues for monitor page

Change-Id: Ifbb7dd7271195bed17dcd83a398bb7a65b13dca2
This commit is contained in:
tao wang 2023-01-12 10:30:57 +08:00 committed by Lane.Wei
parent 143f9cfe99
commit 8d2f3c8440
2 changed files with 5 additions and 1 deletions

View file

@ -1091,7 +1091,10 @@ void StatusBasePanel::show_ams_group(bool show, bool support_virtual_tray)
m_ams_control->Show(true);
m_ams_control_box->Show(true);
m_ams_control->show_noams_mode(show, support_virtual_tray);
Fit();
if (m_show_ams_group != show) {
Fit();
}
m_show_ams_group = show;
}