Fix del filament button spacing

This commit is contained in:
Noisyfox
2025-08-21 21:07:10 +08:00
parent e1ebe832dd
commit 00ece36f38

View File

@@ -1175,7 +1175,7 @@ Sidebar::Sidebar(Plater *parent)
});
p->m_bpButton_del_filament = del_btn;
bSizer39->Add(del_btn, 0, wxALIGN_CENTER_VERTICAL, FromDIP(5));
bSizer39->Add(del_btn, 0, wxALIGN_CENTER | wxLEFT, FromDIP(SidebarProps::IconSpacing()));
bSizer39->Add(add_btn, 0, wxALIGN_CENTER | wxLEFT, FromDIP(SidebarProps::IconSpacing())); // ORCA Moved add button after delete button to prevent add button position change when remove icon automatically hidden
bSizer39->AddSpacer(FromDIP(20));