mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed align of icons in list of top-up credit options.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user