Spinbox issue
-
Hi All
I have been using QT(Via Visual Studio) without problems but since i updated QT to 6.8 my spinboxes seem to have developed a small issue.
- the arrows are now side by side instead of one above the other.
- the plus minus option(via buttonSymbols) doesn't have any affect(even by manual coding). it still displays arrows but the NoButtons option works fine.
My program uses quite a large number of spinboxes but since the upgrade the arrows now block out 2 of the 3 decimal values(spinbox fixed value 0-255 with roll around).
Before posting i just created a simple blank gui on QT creator with 2 spinboxes(the large one is set to arrows and the small one is set to plusminus) the same problem exists.
I have tried this on 6.8 and 6.71(i was on 6.6 before).
As can be seen the arrows are side by side.
I'm scratching my head a bit here and hope someone can help my if i am missing the obvious.
Thanks.
Alan -
Hi,
Can you try to force the style used to the vista style ?
-
P Pl45m4 referenced this topic on
-
See https://doc.qt.io/qt-6/qstyle.html#setting-a-style on how to set a style
-
That’s a bug: https://bugreports.qt.io/browse/QTBUG-124235
It’s going to be fixed before we release 6.8. -