mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix view button style.
This commit is contained in:
parent
4aac633413
commit
466aa5a14d
2 changed files with 4 additions and 2 deletions
|
@ -113,7 +113,9 @@ void ViewButton::draw(
|
||||||
p.save();
|
p.save();
|
||||||
{
|
{
|
||||||
PainterHighQualityEnabler hq(p);
|
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.setBrush(Qt::NoBrush);
|
||||||
p.drawRoundedRect(r, st::roundRadiusLarge, st::roundRadiusLarge);
|
p.drawRoundedRect(r, st::roundRadiusLarge, st::roundRadiusLarge);
|
||||||
|
|
||||||
|
|
|
@ -753,7 +753,7 @@ historyPollInChosenSelected: icon {{ "poll_select_check", historyFileInIconFgSel
|
||||||
historyViewButtonHeight: 42px;
|
historyViewButtonHeight: 42px;
|
||||||
historyViewButtonMargins: margins(5px, 5px, 5px, 5px);
|
historyViewButtonMargins: margins(5px, 5px, 5px, 5px);
|
||||||
historyViewButtonOutline: margins(2px, 2px, 2px, 2px);
|
historyViewButtonOutline: margins(2px, 2px, 2px, 2px);
|
||||||
historyViewButtonTextStyle: defaultTextStyle;
|
historyViewButtonTextStyle: semiboldTextStyle;
|
||||||
|
|
||||||
historyCommentsButtonHeight: 40px;
|
historyCommentsButtonHeight: 40px;
|
||||||
historyCommentsSkipLeft: 9px;
|
historyCommentsSkipLeft: 9px;
|
||||||
|
|
Loading…
Add table
Reference in a new issue