Don't cut confirming emoji status.

This commit is contained in:
John Preston 2025-02-20 12:04:24 +04:00
parent f74ba95e95
commit e302f328f7
3 changed files with 3 additions and 1 deletions

View file

@ -916,7 +916,7 @@ std::unique_ptr<Ui::AbstractButton> MakePeerBubbleButton(
userpic->moveToLeft(left, 0, outer.width());
if (right) {
right->moveToLeft(
left + *width - padding.right() - right->width(),
left + *width - padding.right() - rwidth,
padding.top(),
outer.width());
}

View file

@ -465,6 +465,7 @@ std::unique_ptr<Ui::RpWidget> MakeEmojiSetStatusPreview(
st::defaultPopupMenu,
makeContext),
style::margins(st::normalFont->spacew, 0, 0, 0));
emoji->entity()->resizeToWidth(emoji->entity()->textMaxWidth());
auto result = Info::BotStarRef::MakePeerBubbleButton(
parent,

View file

@ -1188,6 +1188,7 @@ botEmojiStatusName: FlatLabel(defaultFlatLabel) {
maxHeight: 20px;
}
botEmojiStatusEmoji: FlatLabel(botEmojiStatusName) {
margin: margins(4px, 4px, 4px, 4px);
textFg: profileVerifiedCheckBg;
}