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"); topLevelLabel.setPixmap(pixmap); topLevelLabel.show();
you could try with;