Commit c185a15c authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Make message boxes always 300 pixels wide.

Sometimes the text would not fit and constantly resizing them is ugly
anyway.

Change-Id: Id1136ae3b2d2f339ff6f4302b45794201221e6c4
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
parent f0d89175
......@@ -200,7 +200,7 @@ void QmlProfilerStateWidget::showText(const QString &text, bool showProgress)
}
d->progressBar->setVisible(showProgress);
d->text->setText(text);
resize(showProgress ? 300 : 200, 70);
resize(300, 70);
reposition();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment