From 3d629df2acdafc5fed20ab08b97551d7b0655e9c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 7 Jan 2022 22:15:37 +0100 Subject: [PATCH] navibar: just 1px height for new separator line Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/39950060b89fe86cc8e38aa496d9aae37edb1f4f Author: vanhofen Date: 2022-01-07 (Fri, 07 Jan 2022) Origin message was: ------------------ - navibar: just 1px height for new separator line --- src/gui/widget/navibar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/navibar.cpp b/src/gui/widget/navibar.cpp index 08f31e019..0477ad7f0 100644 --- a/src/gui/widget/navibar.cpp +++ b/src/gui/widget/navibar.cpp @@ -76,7 +76,7 @@ void CNaviBar::initCCItems() // small separator line on the top int grad = g_settings.theme.menu_Separator_gradient_enable ? CC_COLGRAD_COL_DARK_LIGHT_DARK : CC_COLGRAD_OFF; if (!nb_topline) - nb_topline = new CComponentsShapeSquare(0, 0, width, 2, this, CC_SHADOW_OFF); + nb_topline = new CComponentsShapeSquare(0, 0, width, 1, this, CC_SHADOW_OFF); nb_topline->setColorBody(COL_MENUCONTENT_PLUS_1); nb_topline->setColBodyGradient(grad, CFrameBuffer::gradientHorizontal, COL_MENUCONTENT_PLUS_0, CColorGradient::light);