mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
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:
@@ -475,7 +475,7 @@ void CComponentsHeader::initCaption()
|
|||||||
int clock_w = cch_cl_enable ? cch_cl_obj->getWidth() : 0;
|
int clock_w = cch_cl_enable ? cch_cl_obj->getWidth() : 0;
|
||||||
|
|
||||||
//set x position of clock
|
//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
|
//set required width of caption object
|
||||||
cc_text_w -= (clock_w + cch_offset);
|
cc_text_w -= (clock_w + cch_offset);
|
||||||
|
Reference in New Issue
Block a user