diff --git a/apps/statistics/multiple_data_view.cpp b/apps/statistics/multiple_data_view.cpp index 893c2b6fd..8eef9f9cc 100644 --- a/apps/statistics/multiple_data_view.cpp +++ b/apps/statistics/multiple_data_view.cpp @@ -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(); }