CComponentsHeader: Reduce offset between clock and right border.

Was too large
This commit is contained in:
2017-04-17 15:51:54 +02:00
parent e1f51050b2
commit 42db55e61d

View File

@@ -475,7 +475,7 @@ void CComponentsHeader::initCaption()
int clock_w = cch_cl_enable ? cch_cl_obj->getWidth() : 0;
//set x position of clock
cch_cl_obj->setXPos(width - buttons_w - clock_w - cch_offset);
cch_cl_obj->setXPos(width - buttons_w - clock_w);
//set required width of caption object
cc_text_w -= (clock_w + cch_offset);