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

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

wcf binding - How to create a wsdl file for a WCF service library? -