From 54117cc7624d2d82bf6dfa477ac1bb91962cb79d Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 25 Jan 2023 11:54:01 +0400 Subject: [PATCH] Fix styles in reactions expanded panel. --- Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp | 1 - Telegram/SourceFiles/chat_helpers/chat_helpers.style | 4 ++++ Telegram/SourceFiles/ui/chat/chat.style | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp index 274a55972..400fcb95a 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp @@ -267,7 +267,6 @@ struct IconSelector { const auto icons = &controller->session().data().forumIcons(); const auto body = box->verticalLayout(); - Settings::AddSkip(body); const auto recent = [=] { auto list = icons->list(); list.insert(begin(list), kDefaultIconId); diff --git a/Telegram/SourceFiles/chat_helpers/chat_helpers.style b/Telegram/SourceFiles/chat_helpers/chat_helpers.style index ed0949881..08b0be369 100644 --- a/Telegram/SourceFiles/chat_helpers/chat_helpers.style +++ b/Telegram/SourceFiles/chat_helpers/chat_helpers.style @@ -409,6 +409,10 @@ reactPanelEmojiPan: EmojiPan(statusEmojiPan) { desiredSize: reactStripSize; verticalSizeSub: 0px; overBg: transparent; + search: TabbedSearch(defaultTabbedSearch) { + defaultFieldWidth: 88px; + } + searchMargin: margins(1px, 10px, 2px, 6px); } emojiScroll: ScrollArea(defaultSolidScroll) { deltat: 3px; diff --git a/Telegram/SourceFiles/ui/chat/chat.style b/Telegram/SourceFiles/ui/chat/chat.style index 144edbf92..03c779c86 100644 --- a/Telegram/SourceFiles/ui/chat/chat.style +++ b/Telegram/SourceFiles/ui/chat/chat.style @@ -1218,11 +1218,11 @@ reactionPremiumLocked: icon{ }; reactionExpandPanel: icon{ { "chat/reactions_round_big", windowBgRipple }, - { "chat/reactions_expand_panel", windowBg }, + { "chat/reactions_expand_panel", windowSubTextFg }, }; reactionsExpandDropdown: icon{ { "chat/reactions_round_small", windowBgRipple }, - { "chat/reactions_expand_panel", windowBg }, + { "chat/reactions_expand_panel", windowSubTextFg }, }; searchInChatMultiSelectItem: MultiSelectItem(defaultMultiSelectItem) {