mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
enable word wrap in tooltip
This commit is contained in:
parent
83b6fad8e6
commit
048a6f661d
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ void SplitHeader::enterEvent(QEvent *event)
|
||||||
|
|
||||||
auto tooltip = TooltipWidget::instance();
|
auto tooltip = TooltipWidget::instance();
|
||||||
tooltip->setText(this->tooltipText_);
|
tooltip->setText(this->tooltipText_);
|
||||||
tooltip->setWordWrap(false);
|
tooltip->setWordWrap(true);
|
||||||
tooltip->adjustSize();
|
tooltip->adjustSize();
|
||||||
auto pos = this->mapToGlobal(this->rect().bottomLeft()) +
|
auto pos = this->mapToGlobal(this->rect().bottomLeft()) +
|
||||||
QPoint((this->width() - tooltip->width()) / 2, 0);
|
QPoint((this->width() - tooltip->width()) / 2, 0);
|
||||||
|
|
Loading…
Reference in a new issue