Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Help needed putting two SVGs side by side

$
0
0
Hello, this is my first post here I’m having trouble putting these two SVG files together, as shown in the image. The black line inbetween them is not supposed to be there. The SVG on the left is scaling up and down, while the arrowhead stays the same size, but should always stick to the end. When scaling, the space between them varies between what seems like 0 to 4 pixles, so I can’t just say “x-1” for the position. This is what I use, as of now: arrow->setPos(square->sceneBoundingRect().topRight()); Is there a way to remove what seems like a border around the sceneBoundingRect, or is there a better way of setting the position of the arrowhead?

Viewing all articles
Browse latest Browse all 18427

Trending Articles