mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Don't cut confirming emoji status.
This commit is contained in:
parent
f74ba95e95
commit
e302f328f7
3 changed files with 3 additions and 1 deletions
|
@ -916,7 +916,7 @@ std::unique_ptr<Ui::AbstractButton> MakePeerBubbleButton(
|
||||||
userpic->moveToLeft(left, 0, outer.width());
|
userpic->moveToLeft(left, 0, outer.width());
|
||||||
if (right) {
|
if (right) {
|
||||||
right->moveToLeft(
|
right->moveToLeft(
|
||||||
left + *width - padding.right() - right->width(),
|
left + *width - padding.right() - rwidth,
|
||||||
padding.top(),
|
padding.top(),
|
||||||
outer.width());
|
outer.width());
|
||||||
}
|
}
|
||||||
|
|
|
@ -465,6 +465,7 @@ std::unique_ptr<Ui::RpWidget> MakeEmojiSetStatusPreview(
|
||||||
st::defaultPopupMenu,
|
st::defaultPopupMenu,
|
||||||
makeContext),
|
makeContext),
|
||||||
style::margins(st::normalFont->spacew, 0, 0, 0));
|
style::margins(st::normalFont->spacew, 0, 0, 0));
|
||||||
|
emoji->entity()->resizeToWidth(emoji->entity()->textMaxWidth());
|
||||||
|
|
||||||
auto result = Info::BotStarRef::MakePeerBubbleButton(
|
auto result = Info::BotStarRef::MakePeerBubbleButton(
|
||||||
parent,
|
parent,
|
||||||
|
|
|
@ -1188,6 +1188,7 @@ botEmojiStatusName: FlatLabel(defaultFlatLabel) {
|
||||||
maxHeight: 20px;
|
maxHeight: 20px;
|
||||||
}
|
}
|
||||||
botEmojiStatusEmoji: FlatLabel(botEmojiStatusName) {
|
botEmojiStatusEmoji: FlatLabel(botEmojiStatusName) {
|
||||||
|
margin: margins(4px, 4px, 4px, 4px);
|
||||||
textFg: profileVerifiedCheckBg;
|
textFg: profileVerifiedCheckBg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue