From 4a7280be5e4a7c85cc60def022f9aeb383cfacd1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 15 Nov 2025 14:28:56 +0400 Subject: [PATCH] Fix balance alignment in paid reactions box. --- Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp b/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp index 164f2eb132..00fa18a0ce 100644 --- a/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp +++ b/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp @@ -262,7 +262,8 @@ void FillTopReactors( container, tr::lng_paid_react_top_title(), [](QRect) { return st::creditsBg3->b; }), - st::boxRowPadding + st::paidReactTopTitleMargin), + st::paidReactTopTitleMargin), + st::boxRowPadding, style::al_top); const auto wrap = container->add( object_ptr>( @@ -458,7 +459,7 @@ void PaidReactionsBox( args.explicitlyAllowed, args.chosen, }); - + const auto allowed = args.explicitlyAllowed; args.chosen = (allowed && args.chosen == allowed) ? allowed @@ -644,7 +645,7 @@ void PaidReactionsBox( button->setText(args.submit(state->chosen.value())); AddStarSelectBalance( - box, + box, args.session, std::move(args.balanceValue), dark);