qt - Only part of the QPixmap is displayed -
i want set pixmap qlabel. problem , not whole image displayed in label, i.e small part of image displayed. here code :
qpixmap pix("c:\\images\\myimg.png")); mlabel->setpixmap(pix); what can problem
try setting pixmap size label size
mlabel->setfixedsize(pix.size());
Comments
Post a Comment