Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
4.7.0
-
None
Description
Run the following example:
#include <QtGui> int main(int argc, char **argv) { QApplication app(argc, argv); QStaticText staticText("FOOBAR"); qDebug() << staticText.size(); }
While the height of the bounding rect seems to be correct, the layout is much too wide. On Windows 7 it yields the results:
QSizeF(8.38861e+06, 13)