mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
cc_frm_header: fix clock width
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user