on-internet
← Community

Qt scale visible content globally in main()

Stack Overflow ·

Is there a chance to simply scale the visible content of main() globally, making it bigger? There will be ways to implement it in the DragWidget class, I assume, but is a broader question, of course... #include <QApplication> #include "dragwidget.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); DragWidget window; window.setStyleSheet("background-color:lightyellow;"); //scale content of window here ?? window.show(); return app.exec(); }

Comments

Sign in or sign up to comment and upvote.

No comments yet.