diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index f940e922e..1a042d53a 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -425,7 +425,10 @@ void TopBarWidget::paintTopBar(Painter &p) { auto nameleft = _leftTaken; auto nametop = st::topBarArrowPadding.top(); auto statustop = st::topBarHeight - st::topBarArrowPadding.bottom() - st::dialogsTextFont->height; - auto availableWidth = width() - _rightTaken - nameleft; + auto availableWidth = width() + - _rightTaken + - nameleft + - st::topBarNameRightPadding; if (_chooseForReportReason) { const auto text = [&] { diff --git a/Telegram/SourceFiles/info/info.style b/Telegram/SourceFiles/info/info.style index e8deff154..954f1f2c5 100644 --- a/Telegram/SourceFiles/info/info.style +++ b/Telegram/SourceFiles/info/info.style @@ -639,7 +639,7 @@ topBarBackward: icon {{ "title_back", menuIconFg }}; topBarForwardAlpha: 0.6; topBarBack: icon {{ "title_back", lightButtonFg }}; topBarArrowPadding: margins(39px, 8px, 17px, 8px); -topBarMinPadding: 5px; +topBarNameRightPadding: 3px; topBarButton: RoundButton(defaultLightButton) { width: -18px; padding: margins(0px, 10px, 12px, 10px);