cc_frm_header: fix clock width

Origin commit data
------------------
Commit: f016ca82d7
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-11-09 (Sat, 09 Nov 2019)
This commit is contained in:
2019-11-09 12:07:41 +01:00
committed by vanhofen
parent 8c324becd9
commit 43104f0c42

View File

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