Hi
Seem you just want to paint it using a border.
Not having a border inside image.
That you can easy do when painting it.
Like
void MiniSVG::paintEvent(QPaintEvent* ) { QPainter p(this); QSvgRenderer r; // this would normally be a member.. r.load(QString(":/7XB_smaller.svg")); r.render(&p, rect().adjusted(64, 64, -64, -64)); }alt text
sample to play with
https://www.dropbox.com/s/7a9t5ywrpmagxjd/drawsvg.zip?dl=0
if its only this image u need this for, you can also just change page size. ( view box)
alt text
that should work too.