[escher] in stack view controller, correct the size of the content view

Change-Id: Idc5e8f6f7a771855c924ed8d108884d71ce4f8db
This commit is contained in:
Émilie Feral
2016-09-19 09:46:50 +02:00
parent 52f30ddf28
commit 8a27740719

View File

@@ -37,7 +37,7 @@ void StackViewController::ControllerView::layoutSubviews() {
}
if (m_contentView) {
KDRect contentViewFrame = KDRect( 0, (m_numberOfStacks-indexFirstHeader)*stackHeight,
width, m_frame.height() - m_numberOfStacks*stackHeight);
width, m_frame.height() - (m_numberOfStacks-indexFirstHeader)*stackHeight);
m_contentView->setFrame(contentViewFrame);
}
}