diff --git a/src/gui/components/cc_frm_header.cpp b/src/gui/components/cc_frm_header.cpp index 31bdf3fd8..bc363d6fe 100644 --- a/src/gui/components/cc_frm_header.cpp +++ b/src/gui/components/cc_frm_header.cpp @@ -616,7 +616,7 @@ void CComponentsHeader::initCaption() cch_cl_obj->refresh(); //get width of clock object - int clock_w = cch_cl_enable ? cch_cl_obj->getWidth() : 0; + int clock_w = cch_cl_enable ? cch_cl_obj->getWidth() + cch_offset : 0; //set x position of clock cch_cl_obj->setXPos(width - buttons_w - clock_w);