mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Improve price layout in saved gifts.
This commit is contained in:
parent
c220d4dd17
commit
17c0124747
2 changed files with 4 additions and 1 deletions
|
@ -211,7 +211,9 @@ void GiftButton::setDescriptor(const GiftDescriptor &descriptor, Mode mode) {
|
|||
QSize(buttonw, buttonh)
|
||||
).marginsAdded(st::giftBoxButtonPadding);
|
||||
const auto skipy = _delegate->buttonSize().height()
|
||||
- (_byStars.isEmpty()
|
||||
- (_small
|
||||
? st::giftBoxButtonBottomSmall
|
||||
: _byStars.isEmpty()
|
||||
? st::giftBoxButtonBottom
|
||||
: st::giftBoxButtonBottomByStars)
|
||||
- inner.height();
|
||||
|
|
|
@ -152,6 +152,7 @@ giftBoxPremiumIconSize: 64px;
|
|||
giftBoxPremiumIconTop: 10px;
|
||||
giftBoxPremiumTextTop: 84px;
|
||||
giftBoxPremiumTextTopByStars: 78px;
|
||||
giftBoxButtonBottomSmall: 4px;
|
||||
giftBoxButtonBottom: 12px;
|
||||
giftBoxButtonBottomByStars: 18px;
|
||||
giftBoxButtonPadding: margins(8px, 4px, 8px, 4px);
|
||||
|
|
Loading…
Add table
Reference in a new issue