mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user