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: 72f3081b9c
Author: Thilo Graf <dbt@novatux.de>
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
This commit is contained in:
2014-01-31 22:59:57 +01:00
parent eb9c5e3659
commit db5ef9c79f

View File

@@ -45,7 +45,6 @@ void CBuildInfo::initVarBuildInfo()
{
doCenter();
append_v_offset = 1;
font = NULL;
setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT);
InitInfoItems();