mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[escher] in stack view controller, correct the size of the content view
Change-Id: Idc5e8f6f7a771855c924ed8d108884d71ce4f8db
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user