Important: Please read the Qt Code of Conduct -

How to change the icon size?

  • Hey, I added a Icon to my app using

        import sys
        app = QtWidgets.QApplication(sys.argv)
        MainWindow = QtWidgets.QMainWindow()
        ui = Ui_MainWindow()
        MainWindow.setWindowTitle("Hue Control")

    but its way to small...
    Is there a way to change the size of it?


  • In this post you will find a small method to change an icon’s size (and colour, meant for unicolour svg icons).

  • I don't know a way to change the size of the windows icon. Isn't this size prescribed by the window system/operating system? Do other programs have larger icons?

Log in to reply