FIX: THE align problem

jira: [STUDIO-10044]
Change-Id: I6bdb49aaf1ba92289110f72980d8532b0afdaaf0
(cherry picked from commit 750673b7f7a2091c66d76a403de9b2a7e305022b)
This commit is contained in:
xin.zhang
2025-02-20 16:41:01 +08:00
committed by Noisyfox
parent 73810199d6
commit f5829ee837
2 changed files with 18 additions and 13 deletions

View File

@@ -1141,7 +1141,7 @@ void AMSControl::createAmsPanel(wxSimplebook *parent, int &idx, std::vector<AMSi
else{
auto ext_image = new AMSExtImage(book_panel, pos, &m_extder_data);
book_sizer->Add(ams1, 0, wxLEFT, FromDIP(30));
book_sizer->Add(ext_image, 0, wxEXPAND | wxLEFT, FromDIP(30));
book_sizer->Add(ext_image, 0, wxEXPAND | wxLEFT | wxALIGN_CENTER_VERTICAL, FromDIP(30));
m_ext_image_list[infos[0].ams_id] = ext_image;
}
}