[apps/stats] Fix banner size computation

This commit is contained in:
Léa Saviot
2018-05-29 12:02:29 +02:00
parent 2997e991c4
commit 3e547bb44c

View File

@@ -62,6 +62,8 @@ View * MultipleDataView::subviewAtIndex(int index) {
}
void MultipleDataView::layoutSubviews() {
// We need to set the banner width first, so its height can be computed
editableBannerView()->setFrame(KDRect(0, 0, bounds().width(), 0));
layoutDataSubviews();
layoutBanner();
}