[escher] Fix stack view title layout: re-add a grey line below stack

titles
This commit is contained in:
Émilie Feral
2018-01-08 14:19:30 +01:00
committed by Ecco
parent 1912ad0379
commit be59ec0bfd

View File

@@ -43,7 +43,7 @@ void StackViewController::ControllerView::layoutSubviews() {
}
}
if (m_contentView) {
bool separatorHeight = m_numberOfStacks > 1;
KDCoordinate separatorHeight = m_numberOfStacks > 0 ? 1 : 0;
KDRect contentViewFrame = KDRect( 0,
m_displayStackHeaders * (m_numberOfStacks * k_stackHeight + separatorHeight),
width,