From 2e9f1b3f04f2707c4f15b2f8ecf34a34ddfef01e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 6 Jun 2017 23:18:48 +0200 Subject: [PATCH] infoviewer_bb: "fix" height of ca-bar; ... replace OFFSET define with fixed value. This needs more fixes. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/3598ae784909e8e293064e3a2ff253dc0c6350ea Author: vanhofen Date: 2017-06-06 (Tue, 06 Jun 2017) Origin message was: ------------------ - infoviewer_bb: "fix" height of ca-bar; ... replace OFFSET define with fixed value. This needs more fixes. --- src/gui/infoviewer_bb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index 84df919a9..961fe3da3 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -923,7 +923,7 @@ void CInfoViewerBB::paint_ca_bar() if (g_settings.infobar_casystem_frame) { if (ca_bar == NULL) - ca_bar = new CComponentsShapeSquare(g_InfoViewer->ChanInfoX + OFFSET_INNER_MID, g_InfoViewer->BoxEndY, ca_width - 2*OFFSET_INNER_MID, bottom_bar_offset - OFFSET_INNER_MID, NULL, CC_SHADOW_ON, COL_INFOBAR_CASYSTEM_PLUS_2, COL_INFOBAR_CASYSTEM_PLUS_0); + ca_bar = new CComponentsShapeSquare(g_InfoViewer->ChanInfoX + OFFSET_INNER_MID, g_InfoViewer->BoxEndY, ca_width - 2*OFFSET_INNER_MID, bottom_bar_offset - 10, NULL, CC_SHADOW_ON, COL_INFOBAR_CASYSTEM_PLUS_2, COL_INFOBAR_CASYSTEM_PLUS_0); //NI ca_bar->enableShadow(CC_SHADOW_ON, OFFSET_SHADOW/2, true); ca_bar->setFrameThickness(1); //NI ca_bar->setCorner(RADIUS_SMALL, CORNER_ALL);