mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Improved style of statistic overview.
This commit is contained in:
@@ -1493,8 +1493,11 @@ void ChartWidget::setZoomedChartData(
|
||||
Ui::Animations::ShowWidgets({ _zoomedChartWidget.get(), customHeader });
|
||||
Ui::Animations::HideWidgets({ this });
|
||||
|
||||
customHeader->moveToLeft(0, 0);
|
||||
customHeader->resizeToWidth(width());
|
||||
{
|
||||
const auto &headerPadding = st::statisticsChartHeaderPadding;
|
||||
customHeader->moveToLeft(headerPadding.left(), headerPadding.top());
|
||||
customHeader->resizeToWidth(width() - rect::m::sum::h(headerPadding));
|
||||
}
|
||||
zoomOutButton->moveToLeft(0, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user