View Single Post
Old 11-14-2017, 09:19 AM   #46
gingerbeardman
Zealot
gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.
 
gingerbeardman's Avatar
 
Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
So the issue in the code is it using KeepAspectRatioByExpanding parameter.

Changing that to KeepAspectRatio fixes the behaviour.

Make sure you set your reader screen dimensions (Width and Height) on the plugin.

https://doc.qt.io/archives/qtjambi-4...RatioMode.html



Modified plugin attached. Based on the one from post #39

Last edited by BetterRed; 01-28-2020 at 02:32 PM. Reason: remove unofficial version
gingerbeardman is offline   Reply With Quote