QProgressDialog: Fit progress bar to window
-
Hi,
I created a progress dialog and hide the cancel button:
!http://i.imgur.com/hiZvqRY.png?1(Image)!
In my opinion the progress bar is to short. Is there any possibility to fit the progress bar to the dialog (horizontally)?
Remoneo
-
The space on the right is for progress text. It appears that the range and value are currently zero (green section in middle suggests this) so there is no text to display.
If you turn off the the text (i.e. progressBar->setTextVisible(false); ) the size will be the width of the dialog.