mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Make nicer footer in starref boxes.
This commit is contained in:
parent
d8892c4eb4
commit
4cafb3f966
2 changed files with 2 additions and 1 deletions
|
@ -296,6 +296,7 @@ void AddFullWidthButtonFooter(
|
|||
button->parentWidget(),
|
||||
std::move(text),
|
||||
st::starrefJoinFooter);
|
||||
footer->setTryMakeSimilarLines(true);
|
||||
button->geometryValue() | rpl::start_with_next([=](QRect geometry) {
|
||||
footer->resizeToWidth(geometry.width());
|
||||
const auto &st = box->getDelegate()->style();
|
||||
|
|
|
@ -436,7 +436,7 @@ starrefJoinUserpicsPadding: margins(0px, 32px, 0px, 10px);
|
|||
starrefJoinTitlePadding: margins(0px, 0px, 0px, 12px);
|
||||
starrefCenteredText: FlatLabel(defaultFlatLabel) {
|
||||
align: align(top);
|
||||
minWidth: 240px;
|
||||
minWidth: 40px;
|
||||
}
|
||||
starrefJoinFooter: FlatLabel(starrefCenteredText) {
|
||||
textFg: windowSubTextFg;
|
||||
|
|
Loading…
Add table
Reference in a new issue