diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index f0c23f1d4..ed3e9199d 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -261,10 +261,10 @@ ObjectList::~ObjectList() void ObjectList::set_min_height() { /* Temporary workaround for the correct behavior of the Scrolled sidebar panel: - * change min hight of object list to the normal min value (35 * wxGetApp().em_unit()) + * change min hight of object list to the normal min value (20 * wxGetApp().em_unit()) * after first whole Mainframe updating/layouting */ - const int list_min_height = 35 * wxGetApp().em_unit(); + const int list_min_height = 20 * wxGetApp().em_unit(); if (this->GetMinSize().GetY() > list_min_height) this->SetMinSize(wxSize(-1, list_min_height)); } @@ -274,7 +274,7 @@ void ObjectList::create_objects_ctrl() { /* Temporary workaround for the correct behavior of the Scrolled sidebar panel: * 1. set a height of the list to some big value - * 2. change it to the normal min value (15 * wxGetApp().em_unit()) after first whole Mainframe updating/layouting + * 2. change it to the normal min value (20 * wxGetApp().em_unit()) after first whole Mainframe updating/layouting */ SetMinSize(wxSize(-1, 3000));