mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fixed display of long text for open button in web page views.
This commit is contained in:
parent
244696ae24
commit
bd2ae03ab4
1 changed files with 2 additions and 1 deletions
|
@ -1232,8 +1232,9 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
|
|||
.position = QPoint(
|
||||
inner.x() + (inner.width() - _openButton.maxWidth()) / 2,
|
||||
end + st::historyPageButtonPadding.top()),
|
||||
.availableWidth = paintw,
|
||||
.availableWidth = inner.width(),
|
||||
.now = context.now,
|
||||
.elisionLines = 1,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue