Hi BeckyEbook,
Thanks for testing and reporting back so fast!
For 1. I thought the scaling of the QPixmap kept the aspect ratio. I will take another look at the code. But the thumbnail pane is a fixed 300 by 300 px size so that the dialog is not constantly resizing when different images are selected. It messes with the file list Window if it resizes automatically sometimes.
For 2. Agreed svg should work. But I can't easily use the technique from src/Dialogs/SelectFiles as it would require embedding a QWebEngineView instead of a simple QPixmap stored in a QLabel. I was hoping to not need to add something that takes up so much memory and its own QWebProcess just to show a thumbnail. It is needed in SelectFiles as it can show audio and video previews which only a QWebEngineView can do.
I will look into it.
Last edited by KevinH; 08-06-2025 at 01:46 PM.
|