Qt 5.1.0 RC1 has a serious bug that affects height calculation of QSpinBoxes if stylesheets are used. The attached image Qt5.1.0-rc1-20130606.png shows this issue (vertical size policy used for spin boxes in this gui: fixed) - the spin box height is too small for the content and text clipping occurs.
The picture Qt5.0.2-20130606.png shows the same application compiled with Qt 5.0.2. Also with Qt 4.8.4 and older version this problem does not exist. So it is a new bug related to Qt 5.1.0 RC1.
The last picture Qt5.10-rc1-20130606.png shows the application if the stylesheet file has been removed. The spin boxex look o.k. with the default Windows style - so the issue seems to be related to the stylesheet style.
Other widgets, like i.e. QLineEdit to not show this issue so to summarize the issue is related to:
- stylesheet style
- Qt 5.1.0 RC 1 (qt-windows-opensource-5.1.0-rc1-mingw48_opengl-x86-offline-2013-06-02-48.exe)
The bug is quite serious because it affects all spin boxes in our application and makes Qt 5.1.0 unusable for us.