Added own value of height for chart widget.

This commit is contained in:
23rd 2023-07-14 00:59:40 +03:00 committed by John Preston
parent 367adaa44d
commit 94fd3e32dd
2 changed files with 3 additions and 1 deletions

View File

@ -815,7 +815,7 @@ ChartWidget::ChartWidget(not_null<Ui::RpWidget*> parent)
resize(
width(),
st::confirmMaxHeight
st::statisticsChartHeight
+ st::statisticsChartFooterHeight
+ st::statisticsChartFooterSkip);
}

View File

@ -10,6 +10,8 @@ using "ui/basic.style";
using "window/window.style";
using "ui/widgets/widgets.style";
statisticsChartHeight: 150px;
statisticsDetailsPopupMargins: margins(8px, 8px, 8px, 8px);
statisticsDetailsPopupPadding: margins(6px, 6px, 6px, 6px);
statisticsDetailsPopupMidLineSpace: 8px;