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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -