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 is contained in:
2014-01-31 22:59:57 +01:00
parent 65ef4b4ccf
commit 72f3081b9c

View File

@@ -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();