From 47ddd075f126f7bd0b87ef5cf3f98384499abcd6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 16 Mar 2022 09:40:51 +0400 Subject: [PATCH] Improve info layer title position. --- Telegram/SourceFiles/info/info.style | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/info/info.style b/Telegram/SourceFiles/info/info.style index b1829c48d8..0d236abb26 100644 --- a/Telegram/SourceFiles/info/info.style +++ b/Telegram/SourceFiles/info/info.style @@ -92,7 +92,7 @@ infoTopBarBackIcon: icon {{ "info/info_back", boxTitleCloseFg }}; infoTopBarBackIconOver: icon {{ "info/info_back", boxTitleCloseFgOver }}; infoTopBarHeight: 54px; infoTopBarBack: IconButton(defaultIconButton) { - width: 70px; + width: 60px; height: infoTopBarHeight; icon: infoTopBarBackIcon; @@ -158,7 +158,7 @@ infoTopBar: InfoTopBar { height: infoTopBarHeight; back: infoTopBarBack; title: infoTopBarTitle; - titlePosition: point(22px, 18px); + titlePosition: point(24px, 17px); bg: windowBg; mediaCancel: infoTopBarMediaCancel; mediaActionsSkip: 4px; @@ -179,7 +179,7 @@ infoLayerTopBarHeight: 56px; infoLayerTopBarBackIcon: icon {{ "info/info_back", boxTitleCloseFg }}; infoLayerTopBarBackIconOver: icon {{ "info/info_back", boxTitleCloseFgOver }}; infoLayerTopBarBack: IconButton(infoTopBarBack) { - width: 48px; + width: 60px; height: infoLayerTopBarHeight; iconPosition: point(10px, -1px); @@ -222,7 +222,7 @@ infoLayerTopBar: InfoTopBar(infoTopBar) { height: infoLayerTopBarHeight; back: infoLayerTopBarBack; title: boxTitle; - titlePosition: point(24px, 18px); + titlePosition: point(24px, 17px); bg: boxBg; mediaCancel: infoLayerTopBarMediaCancel; mediaActionsSkip: 6px;