Is there a way to keep a fixed aspect ratio with QSvgWidget? I have been able to fix a QPixmap aspect ratio with
QPixmap *ecoLeaf = new QPixmap(":/Images/eco-leaf.png");
*ecoLeaf = ecoLeaf->scaled(60,60,Qt::KeepAspectRatio);
I cannot seem to find something similar for QSvgWidget. Please, help!
Bookmarks