Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to move the cancel button in QProgressDialog?
my progress dialog looks like this:
no matter what i try, i can not seem to get that darn'd cancel button to move. how can i move it down so the dialog looks more elegantly laid out?
Is there a stylesheet on it?
You could use FindChild to get a pointer to it and use move() but
I wonder if it's in a layout and hence that would never work.
You could use
and see if its in a layout.
that was the first thing i tried. calling move does nothing because there is a private layout that ignores where you manually put things
Ok. If you apply no stylesheet is the button then aligned better?
I wonder if it adds some sort of spacing since the layout should
align them to the right and its an odd space after the button.
If I apply no stylesheet, then it uses a standard macOS progress bar which is much thinner vertically so the spacing looks better. I would expect the spacing due to the layout to compensate for the vertical size when I change it using the style sheet.