I would guess it's a regression in 5.13 - see https://bugreports.qt.io/browse/QTBUG-79806
ChristianEhrlicher Yesterday, 19:58Your test implies that this is a function of the default style, not the spin box itself. How is it too big? Horizontally, vertically? Both? Try using spacers or stretch factors in your layout to...
d_stranz Yesterday, 16:37I recently updated form Qt 5.7 to Qt 5.13 on Windows using MSVC 2017. The QSpinBoxes now take too much space. This behaviour can be observed for the example qtbase/widgets/widgets/sliders shipped...
Lin Yesterday, 10:35RESOLVED: I finally found the answer. the following line does what I want.
self.ui.progressbar.setFormat('Loading files . . .%p%')
UPDATE: I used:
self.ui.progressbar.setStyleSheet('text-align: center')
and it works. But I would still like to know how to set the Alignment in the above question.
Also, I have a...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
Buy (20Pieces) MacBook Pro 16 inch i7 9th 2.6GHz (New 2019) 16GB 512GD SSD $15,980CAD
8th December 2019 17:23 by oampzus