diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 78b2b1c0ca..ff25e55699 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -347,11 +347,13 @@ ObjectList::ObjectList(wxWindow* parent) : //Bind(wxCUSTOMEVT_LAST_VOLUME_IS_DELETED, [this](wxCommandEvent& e) { last_volume_is_deleted(e.GetInt()); }); Bind(wxEVT_SIZE, ([this](wxSizeEvent &e) { - if (m_last_size == this->GetSize()) { + // ORCA: compare client size instead window size + // Name column stays wide that shows horizontal scrollbar when vertical scrollbar (dis)appears + if (m_last_size == this->GetClientSize()) { e.Skip(); return; } else { - m_last_size = this->GetSize(); + m_last_size = this->GetClientSize(); } update_name_column_width(); @@ -361,7 +363,7 @@ ObjectList::ObjectList(wxWindow* parent) : e.Skip(); })); - m_last_size = this->GetSize(); + m_last_size = this->GetClientSize(); } ObjectList::~ObjectList()