Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Text of vertical QProgressBar
beecksche last edited by beecksche
I recognized that when i use a vertical QProgressBar (setOrientation(Qt::Vertical)) and set the property textVisible to true (setTextVisible(true)), the text is not aligned correctly as showed in the picture below.
As you can see, the horizontal position changes depending on the vertical size of the QProgressBar. And the vertical position is depending on the horizontal size.
Is this a Bug or do i forget something?
Are those bars in a layout? If not try putting them in one and see how that fares.
beecksche last edited by
No the bars are not in a layout. Even if i set them into one, the text is still displaced.
I'm not sure if this bug is the same like mine https://bugreports.qt.io/browse/QTBUG-31385
Yes, appears to be related.