2
0
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:
John Preston
2016-07-08 19:59:46 +03:00
parent cd36d367ed
commit 66e2fce8d5
11 changed files with 572 additions and 372 deletions

View File

@@ -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);
}