How to size Label to resolution 1366 x 254

  • My picture resolution is 1366 x 254
    When the application is run, the size seems to be smaller than 1366 x 254 display panel,
    How to resize it?

         #include <QtGui>
           QApplication app(argc, argv);
           QLabel topLevelLabel;
           QPixmap pixmap(":/images/tux.png");

  • Hi,

    you could try with;


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.