cc_frm_header: fix clock width

Origin commit data
------------------
Branch: ni/coolstream
Commit: f016ca82d7
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-11-09 (Sat, 09 Nov 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2019-11-09 12:07:41 +01:00
committed by vanhofen
parent 749b0d648c
commit 7a14fa2a76

View File

@@ -616,7 +616,7 @@ void CComponentsHeader::initCaption()
cch_cl_obj->refresh(); cch_cl_obj->refresh();
//get width of clock object //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 //set x position of clock
cch_cl_obj->setXPos(width - buttons_w - clock_w); cch_cl_obj->setXPos(width - buttons_w - clock_w);