- infoviewer: align header position to fix a small 'hole' beside numbox

This commit is contained in:
svenhoefer
2016-01-07 15:56:36 +01:00
parent 3d4bb41062
commit 033d111a58

View File

@@ -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);