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:
vanhofen
2016-01-07 15:56:36 +01:00
parent 39c5f26b48
commit f267a09d3b

View File

@@ -406,7 +406,7 @@ void CInfoViewer::paintBackground(int col_NumBox)
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;
if (header == NULL){
header = new CComponentsShapeSquare(head_x, ChanNameY, head_w, time_height, NULL, CC_SHADOW_RIGHT);