diff --git a/src/slic3r/GUI/Widgets/AMSItem.cpp b/src/slic3r/GUI/Widgets/AMSItem.cpp index ee764698d..a698d5ffd 100644 --- a/src/slic3r/GUI/Widgets/AMSItem.cpp +++ b/src/slic3r/GUI/Widgets/AMSItem.cpp @@ -1337,6 +1337,7 @@ void AMSLib::render_generic_lib(wxDC &dc) auto alpha = m_info.material_colour.Alpha(); int height = size.y; int curr_height = height * float(m_info.material_remain * 1.0 / 100.0); + if (curr_height != 0) { curr_height = std::max(curr_height, FromDIP(2)); }/*STUDIO-11323 too small to show, enlarge it*/ dc.SetFont(::Label::Body_13); int top = height - curr_height;