mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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>(
|
object_ptr<Ui::FlatLabel>(
|
||||||
raw,
|
raw,
|
||||||
std::move(text),
|
std::move(text),
|
||||||
st.infoAbout ? *st.infoAbout : st::boxDividerLabel),
|
st.infoAbout ? *st.infoAbout : st::upgradeGiftSubtext),
|
||||||
st::settingsPremiumRowAboutPadding);
|
st::settingsPremiumRowAboutPadding);
|
||||||
object_ptr<Info::Profile::FloatingIcon>(
|
object_ptr<Info::Profile::FloatingIcon>(
|
||||||
raw,
|
raw,
|
||||||
|
@ -2603,7 +2603,7 @@ void UpgradeBox(
|
||||||
object_ptr<Ui::FlatLabel>(
|
object_ptr<Ui::FlatLabel>(
|
||||||
raw,
|
raw,
|
||||||
std::move(text),
|
std::move(text),
|
||||||
st::boxDividerLabel),
|
st::upgradeGiftSubtext),
|
||||||
st::settingsPremiumRowAboutPadding);
|
st::settingsPremiumRowAboutPadding);
|
||||||
object_ptr<Info::Profile::FloatingIcon>(
|
object_ptr<Info::Profile::FloatingIcon>(
|
||||||
raw,
|
raw,
|
||||||
|
|
|
@ -216,6 +216,9 @@ uniqueMenuButton: IconButton(uniqueCloseButton) {
|
||||||
upgradeGiftBox: Box(giftBox) {
|
upgradeGiftBox: Box(giftBox) {
|
||||||
buttonPadding: margins(22px, 3px, 22px, 22px);
|
buttonPadding: margins(22px, 3px, 22px, 22px);
|
||||||
}
|
}
|
||||||
|
upgradeGiftSubtext: FlatLabel(boxDividerLabel) {
|
||||||
|
minWidth: 200px;
|
||||||
|
}
|
||||||
darkUpgradeGiftTitle: FlatLabel(uniqueGiftTitle) {
|
darkUpgradeGiftTitle: FlatLabel(uniqueGiftTitle) {
|
||||||
textFg: groupCallMembersFg;
|
textFg: groupCallMembersFg;
|
||||||
}
|
}
|
||||||
|
@ -232,6 +235,6 @@ darkUpgradeGiftProof: icon{{ "menu/factcheck", groupCallMembersFg }};
|
||||||
darkUpgradeGiftInfoTitle: FlatLabel(defaultFlatLabel) {
|
darkUpgradeGiftInfoTitle: FlatLabel(defaultFlatLabel) {
|
||||||
textFg: groupCallMembersFg;
|
textFg: groupCallMembersFg;
|
||||||
}
|
}
|
||||||
darkUpgradeGiftInfoAbout: FlatLabel(boxDividerLabel) {
|
darkUpgradeGiftInfoAbout: FlatLabel(upgradeGiftSubtext) {
|
||||||
textFg: groupCallMemberNotJoinedStatus;
|
textFg: groupCallMemberNotJoinedStatus;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue