Unsolved Text of vertical QProgressBar
-
Hi,
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?
Thanks!
-
Hi,
Are those bars in a layout? If not try putting them in one and see how that fares.Kind regards.
-
@kshegunov
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.