mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
infoviewer: align header position to fix a small 'hole' beside numbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 033d111a58
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Origin message was:
------------------
- infoviewer: align header position to fix a small 'hole' beside numbox
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -406,7 +406,7 @@ void CInfoViewer::paintBackground(int col_NumBox)
|
|||||||
|
|
||||||
void CInfoViewer::paintHead()
|
void CInfoViewer::paintHead()
|
||||||
{
|
{
|
||||||
int head_x = BoxStartX+ChanWidth;
|
int head_x = BoxStartX+ChanWidth -1; /*Ugly: -1 to avoid background shine through round borders*/
|
||||||
int head_w = BoxEndX-head_x;
|
int head_w = BoxEndX-head_x;
|
||||||
if (header == NULL){
|
if (header == NULL){
|
||||||
header = new CComponentsShapeSquare(head_x, ChanNameY, head_w, time_height, NULL, CC_SHADOW_RIGHT);
|
header = new CComponentsShapeSquare(head_x, ChanNameY, head_w, time_height, NULL, CC_SHADOW_RIGHT);
|
||||||
|
Reference in New Issue
Block a user