forked from qt-creator/qt-creator
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: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user