From 033d111a58d33cd0a0fb717f7d5e84f072db2770 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 7 Jan 2016 15:56:36 +0100 Subject: [PATCH] - infoviewer: align header position to fix a small 'hole' beside numbox --- src/gui/infoviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index a04353172..393590c3c 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -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);