Adjust tooltip size

This commit is contained in:
hemirt 2018-06-22 17:45:11 +02:00 committed by fourtf
parent 63856b1e02
commit 077f908f4e

View file

@ -805,6 +805,7 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
} else { } else {
tooltipWidget->moveTo(this, event->globalPos()); tooltipWidget->moveTo(this, event->globalPos());
tooltipWidget->setText(tooltip); tooltipWidget->setText(tooltip);
tooltipWidget->adjustSize();
tooltipWidget->show(); tooltipWidget->show();
tooltipWidget->raise(); tooltipWidget->raise();
} }