mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
New design of a chat invite link import box with title, photo, users.
This commit is contained in:
@@ -530,9 +530,9 @@ void StickersInner::paintRow(Painter &p, int32 index) {
|
||||
int addy = st::contactsPadding.top() + (st::contactsPhotoSize - st::defaultActiveButton.height) / 2;
|
||||
QRect add(myrtlrect(addx, addy, addw, st::defaultActiveButton.height));
|
||||
|
||||
App::roundRect(p, add, st::defaultActiveButton.textBgOver, ImageRoundRadius::Small);
|
||||
App::roundRect(p, add, st::defaultActiveButton.textBg, ImageRoundRadius::Small);
|
||||
p.setFont(st::defaultActiveButton.font);
|
||||
p.setPen(st::defaultActiveButton.textFg);
|
||||
p.setPen(st::defaultActiveButton.textFg); // textBgOver / downTextTop
|
||||
p.drawTextLeft(addx - st::defaultActiveButton.width / 2, addy + st::defaultActiveButton.textTop, width(), _addText, _addWidth);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user