From f5c15b9e6b2e9aac7bc27f08c3cd39a0e732a7cc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 30 Apr 2022 16:31:45 +0200 Subject: [PATCH] fix centering logo in header Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2811ca256900da9b28fb4e7417f25d8ef1eb96d7 Author: vanhofen Date: 2022-04-30 (Sat, 30 Apr 2022) --- src/gui/components/cc_frm_header.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_header.cpp b/src/gui/components/cc_frm_header.cpp index 84d7afe4a..9024bcab8 100644 --- a/src/gui/components/cc_frm_header.cpp +++ b/src/gui/components/cc_frm_header.cpp @@ -367,7 +367,7 @@ void CComponentsHeader::initLogo() if (prev_item) { int left_tag = prev_item->getXPos() + prev_item->getWidth(); - if (x_logo <= left_tag) + //if (x_logo <= left_tag) x_logo = left_tag + logo_space/2 - w_logo/2; } }