[escher/view] setFrame and layoutSubviews can be forced

This commit is contained in:
Léa Saviot
2019-10-02 11:22:49 +02:00
parent f85658f5e6
commit 9f018eb9d9
168 changed files with 421 additions and 405 deletions

View File

@@ -18,9 +18,9 @@ void FunctionExpressionCell::drawRect(KDContext * ctx, KDRect rect) const {
}
void FunctionExpressionCell::layoutSubviews() {
void FunctionExpressionCell::layoutSubviews(bool force) {
KDRect expressionFrame(m_leftMargin, 0, bounds().width() - m_leftMargin - m_rightMargin, bounds().height()-k_separatorThickness);
m_expressionView.setFrame(expressionFrame);
m_expressionView.setFrame(expressionFrame, force);
}
}