In Qt 6 size hints of QSpinBox are not correct
-
Hello,
I switched from the last Qt 5 to Qt 6.7.3 and recognized, that the spin buttons will be placed horizontal instead of vertical as before. Thats not the problem, I like it, but the automatic sizing of the widget width ist to small. It seem as if the width will be calculated for the old style.In the designer I see the old style. When I try to show a preview in "windows 11 style" the creator crases. For all other styles I get a preview.
During runtime the app doesnt crash, but shows a to small Spinbox.
Is this a bug or must I change something ?
-
Use a recent Qt6 version or use the windowsvista style.