mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Fix multi-line description in gift box.
This commit is contained in:
parent
d60ce41fa9
commit
2729bcac3b
2 changed files with 6 additions and 3 deletions
|
@ -2371,7 +2371,7 @@ void ShowUniqueGiftWearBox(
|
|||
object_ptr<Ui::FlatLabel>(
|
||||
raw,
|
||||
std::move(text),
|
||||
st.infoAbout ? *st.infoAbout : st::boxDividerLabel),
|
||||
st.infoAbout ? *st.infoAbout : st::upgradeGiftSubtext),
|
||||
st::settingsPremiumRowAboutPadding);
|
||||
object_ptr<Info::Profile::FloatingIcon>(
|
||||
raw,
|
||||
|
@ -2603,7 +2603,7 @@ void UpgradeBox(
|
|||
object_ptr<Ui::FlatLabel>(
|
||||
raw,
|
||||
std::move(text),
|
||||
st::boxDividerLabel),
|
||||
st::upgradeGiftSubtext),
|
||||
st::settingsPremiumRowAboutPadding);
|
||||
object_ptr<Info::Profile::FloatingIcon>(
|
||||
raw,
|
||||
|
|
|
@ -216,6 +216,9 @@ uniqueMenuButton: IconButton(uniqueCloseButton) {
|
|||
upgradeGiftBox: Box(giftBox) {
|
||||
buttonPadding: margins(22px, 3px, 22px, 22px);
|
||||
}
|
||||
upgradeGiftSubtext: FlatLabel(boxDividerLabel) {
|
||||
minWidth: 200px;
|
||||
}
|
||||
darkUpgradeGiftTitle: FlatLabel(uniqueGiftTitle) {
|
||||
textFg: groupCallMembersFg;
|
||||
}
|
||||
|
@ -232,6 +235,6 @@ darkUpgradeGiftProof: icon{{ "menu/factcheck", groupCallMembersFg }};
|
|||
darkUpgradeGiftInfoTitle: FlatLabel(defaultFlatLabel) {
|
||||
textFg: groupCallMembersFg;
|
||||
}
|
||||
darkUpgradeGiftInfoAbout: FlatLabel(boxDividerLabel) {
|
||||
darkUpgradeGiftInfoAbout: FlatLabel(upgradeGiftSubtext) {
|
||||
textFg: groupCallMemberNotJoinedStatus;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue