From db5ef9c79f9fb0d63db377abf22f862b16a19f5e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 31 Jan 2014 22:59:57 +0100 Subject: [PATCH] CBuildInfo: remove append offset Append offset is not required here, even harmful, because parent items (header, body, footer) in the parent object are already adapted. Offset maybe required in body object, but not in the parent window. This fixes also fb remains on the bottom of window after executed hide() in buildinfo object. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/72f3081b9c0de0631f954bb01701588f722e4a9e Author: Thilo Graf Date: 2014-01-31 (Fri, 31 Jan 2014) Origin message was: ------------------ CBuildInfo: remove append offset Append offset is not required here, even harmful, because parent items (header, body, footer) in the parent object are already adapted. Offset maybe required in body object, but not in the parent window. This fixes also fb remains on the bottom of window after executed hide() in buildinfo object. ------------------ This commit was generated by Migit --- src/gui/buildinfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/buildinfo.cpp b/src/gui/buildinfo.cpp index f87554820..45b87a2c6 100644 --- a/src/gui/buildinfo.cpp +++ b/src/gui/buildinfo.cpp @@ -44,8 +44,7 @@ CBuildInfo::CBuildInfo() : CComponentsWindow(0, 0, 700, 500, LOCALE_BUILDINFO_ME void CBuildInfo::initVarBuildInfo() { doCenter(); - - append_v_offset = 1; + font = NULL; setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT); InitInfoItems();