From ec51aaff34ea153b43676efe5eb719a6543d27e1 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sat, 6 May 2023 11:33:54 +0300 Subject: [PATCH] UI: Options: Statistics: Wrap to scroll area --- src/ui/form/opt/pages/optmainpage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/form/opt/pages/optmainpage.cpp b/src/ui/form/opt/pages/optmainpage.cpp index a20a7105..7de21e85 100644 --- a/src/ui/form/opt/pages/optmainpage.cpp +++ b/src/ui/form/opt/pages/optmainpage.cpp @@ -76,7 +76,8 @@ void OptMainPage::setupTabBar() m_tabBar->addTab(addressesPage, IconCache::icon(":/icons/ip.png"), QString()); m_tabBar->addTab( applicationsPage, IconCache::icon(":/icons/application_double.png"), QString()); - m_tabBar->addTab(statisticsPage, IconCache::icon(":/icons/chart_bar.png"), QString()); + m_tabBar->addTab(ControlUtil::wrapToScrollArea(statisticsPage), + IconCache::icon(":/icons/chart_bar.png"), QString()); m_tabBar->addTab(schedulePage, IconCache::icon(":/icons/clock.png"), QString()); connect(m_tabBar, &QTabWidget::currentChanged, this,