mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
Fixed align of icons in list of top-up credit options.
This commit is contained in:
parent
7265297b19
commit
558daa3382
1 changed files with 1 additions and 4 deletions
|
@ -280,10 +280,7 @@ void FillCreditOptions(
|
|||
inner->paintRequest(
|
||||
) | rpl::start_with_next([=](const QRect &rect) {
|
||||
auto p = QPainter(inner);
|
||||
p.drawImage(
|
||||
0,
|
||||
(buttonHeight - stars.height()) / 2,
|
||||
stars);
|
||||
p.drawImage(0, 0, stars);
|
||||
const auto textLeft = diffBetweenTextAndStar
|
||||
+ stars.width() / style::DevicePixelRatio();
|
||||
p.setPen(st.textFg);
|
||||
|
|
Loading…
Add table
Reference in a new issue