Fix view button style.

This commit is contained in:
John Preston 2021-10-07 11:38:07 +04:00
parent 4aac633413
commit 466aa5a14d
2 changed files with 4 additions and 2 deletions

View File

@ -113,7 +113,9 @@ void ViewButton::draw(
p.save();
{
PainterHighQualityEnabler hq(p);
p.setPen(stm->fwdTextPalette.linkFg);
auto pen = stm->fwdTextPalette.linkFg->p;
pen.setWidth(st::lineWidth);
p.setPen(pen);
p.setBrush(Qt::NoBrush);
p.drawRoundedRect(r, st::roundRadiusLarge, st::roundRadiusLarge);

View File

@ -753,7 +753,7 @@ historyPollInChosenSelected: icon {{ "poll_select_check", historyFileInIconFgSel
historyViewButtonHeight: 42px;
historyViewButtonMargins: margins(5px, 5px, 5px, 5px);
historyViewButtonOutline: margins(2px, 2px, 2px, 2px);
historyViewButtonTextStyle: defaultTextStyle;
historyViewButtonTextStyle: semiboldTextStyle;
historyCommentsButtonHeight: 40px;
historyCommentsSkipLeft: 9px;