mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- infoviewer: align header position to fix a small 'hole' beside numbox
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