progresswindow.cpp: fix too small offset between global bar and lower frame

This commit is contained in:
2022-09-16 22:37:43 +02:00
parent bf2059cb74
commit 5e530ef9d2

View File

@@ -111,7 +111,7 @@ void CProgressWindow::Init( signal<void, size_t, size_t, string> *statusSignal,
//set window height
h_height = ccw_head->getHeight();
ccw_body->setHeight(ccw_body->back()->getYPos()+ ccw_body->back()->getHeight()+ OFFSET_INNER_MID);
height = max(height, ccw_body->getHeight() + h_height);
height = max(height, ccw_body->getHeight() + h_height) + fr_thickness;
//set position on screen
setCenterPos();