None of that helped me, but I've changed fitInView's KeepAspectRatio to
Image is now little bigger than before, but that is not solution. Is there any other way to insert image into dialog's form, so I can apply images with all aspect ratios and there wouldn't be visible border?Qt Code:
ui->graphicsView->fitInView(scn->sceneRect(),Qt::KeepAspectRatioByExpanding);To copy to clipboard, switch view to plain text mode
Bookmarks