c++ - How to center widget inside QStackedLayout? -


I have a QProgressBar, which I should be centered inside QStackedLayout. How do I get it, seeing that QStackedLayout :: setAlignment has no effect, and the widget is always in the top-left?

Put QProgressBar in container (i.e. QWidget) which allows it to be centered with an additional layout is.

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -