forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/5.0'
Conflicts: src/plugins/autotest/testresultdelegate.cpp Change-Id: If172206f231fc2a9f4a672cd2e6eaeaea4988c96
This commit is contained in:
@@ -155,6 +155,8 @@ void ToolTip::show(
|
||||
{
|
||||
if (content && content->count()) {
|
||||
auto tooltipWidget = new FakeToolTip;
|
||||
// limit the size of the widget to 90% of the screen size to have some context around it
|
||||
tooltipWidget->setMaximumSize(QGuiApplication::screenAt(pos)->availableSize() * 0.9);
|
||||
if (contextHelp.isNull()) {
|
||||
tooltipWidget->setLayout(content);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user