CComponentsHeader: Reduce offset between clock and right border.

Was too large


Origin commit data
------------------
Commit: 42db55e61d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
This commit is contained in:
2017-04-17 15:51:54 +02:00
parent 7af9377262
commit 87ecc7a58d

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);